From: Chris Elliott Date: Mon, 11 Dec 2006 09:43:39 +0000 (+0000) Subject: fix watcom problem (thanks ABX) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/6f011faaf00692d0b6e96bc98627e301ea6f8a25?ds=sidebyside fix watcom problem (thanks ABX) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/srchctlg.cpp b/src/generic/srchctlg.cpp index 0eabaf5d9b..956edb3f83 100644 --- a/src/generic/srchctlg.cpp +++ b/src/generic/srchctlg.cpp @@ -173,7 +173,7 @@ private: DECLARE_EVENT_TABLE() }; -BEGIN_EVENT_TABLE(wxSearchButton, wxButton) +BEGIN_EVENT_TABLE(wxSearchButton, wxControl) EVT_LEFT_UP(wxSearchButton::OnLeftUp) EVT_PAINT(wxSearchButton::OnPaint) END_EVENT_TABLE()