From: Steve Brokenshire Date: Tue, 17 Jan 2017 23:48:55 +0000 (+0000) Subject: frmSearch: Clear status bar when reset button is pressed X-Git-Tag: release-0.18~33 X-Git-Url: http://Server1/repobrowser/?a=commitdiff_plain;h=6e4396404da8037baa863893cee45be3d9978b1a;p=xestiaab%2F.git frmSearch: Clear status bar when reset button is pressed --- diff --git a/source/search/frmSearch.cpp b/source/search/frmSearch.cpp index 9e4d8aa..3ef2a0d 100644 --- a/source/search/frmSearch.cpp +++ b/source/search/frmSearch.cpp @@ -232,6 +232,15 @@ void frmSearch::ResetContacts( wxCommandEvent& event ) } + // Clear the status bar. + + wxCommandEvent statusResetEvent (SE_SBUPDATE); + + wxString *statusReset = new wxString(wxT("")); + + statusResetEvent.SetClientData(statusReset); + wxPostEvent(this, statusResetEvent); + // Add a search settings with the default things. ScrollGen = 0;