]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/srchctrl.h
check for self-assignment in operator=
[wxWidgets.git] / include / wx / srchctrl.h
index 17e18884dcbc2ee17675c9a914cd29c991ce9f02..ccd27a29be1e6c6c793da7fd7eb1edb6ff6f2803 100644 (file)
@@ -38,8 +38,8 @@
 
 extern WXDLLIMPEXP_DATA_CORE(const char) wxSearchCtrlNameStr[];
 
 
 extern WXDLLIMPEXP_DATA_CORE(const char) wxSearchCtrlNameStr[];
 
-extern WXDLLIMPEXP_CORE const wxEventType wxEVT_COMMAND_SEARCHCTRL_CANCEL_BTN;
-extern WXDLLIMPEXP_CORE const wxEventType wxEVT_COMMAND_SEARCHCTRL_SEARCH_BTN;
+wxDECLARE_EXPORTED_EVENT(WXDLLIMPEXP_CORE, wxEVT_COMMAND_SEARCHCTRL_CANCEL_BTN, wxCommandEvent);
+wxDECLARE_EXPORTED_EVENT(WXDLLIMPEXP_CORE, wxEVT_COMMAND_SEARCHCTRL_SEARCH_BTN, wxCommandEvent);
 
 // ----------------------------------------------------------------------------
 // a search ctrl is a text control with a search button and a cancel button
 
 // ----------------------------------------------------------------------------
 // a search ctrl is a text control with a search button and a cancel button