]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/srchctlg.h
test whether pointer is non-NULL before using it, not after, in wxAnimation::Load...
[wxWidgets.git] / include / wx / generic / srchctlg.h
index 84daadaa38cad42118b4cef15658de6310206433..bf8fef4d322dc914221581facb9bb61bb3a3a872 100644 (file)
@@ -60,6 +60,10 @@ public:
     virtual void ShowCancelButton( bool show );
     virtual bool IsCancelButtonVisible() const;
 
+    // TODO: In 2.9 these should probably be virtual, and declared in the base class...
+    void SetDescriptiveText(const wxString& text);
+    wxString GetDescriptiveText() const;
+
     // accessors
     // ---------
 
@@ -212,7 +216,8 @@ protected:
     virtual void OnSearchButton( wxCommandEvent& event );
 
     void OnSetFocus( wxFocusEvent& event );
-
+    void OnSize( wxSizeEvent& event );
+    
 private:
     friend class wxSearchButton;