]> git.saurik.com Git - wxWidgets.git/commitdiff
fix watcom problem (thanks ABX)
authorChris Elliott <biol75@york.ac.uk>
Mon, 11 Dec 2006 09:43:39 +0000 (09:43 +0000)
committerChris Elliott <biol75@york.ac.uk>
Mon, 11 Dec 2006 09:43:39 +0000 (09:43 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/srchctlg.cpp

index 0eabaf5d9b83b725fb11ea687dd1afd84c004aac..956edb3f839c8b436b3f85fd90e89de9f1b4bd50 100644 (file)
@@ -173,7 +173,7 @@ private:
     DECLARE_EVENT_TABLE()
 };
 
     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()
     EVT_LEFT_UP(wxSearchButton::OnLeftUp)
     EVT_PAINT(wxSearchButton::OnPaint)
 END_EVENT_TABLE()