]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/pickerbase.cpp
Add some version checks to help compiling on OSX.
[wxWidgets.git] / src / common / pickerbase.cpp
index 43215b3cfe7d244adf4ded92d4689574a7285b83..797c946876f5849f88ccf4dfc99c5d74b19fdeb4 100644 (file)
 
 IMPLEMENT_ABSTRACT_CLASS(wxPickerBase, wxControl)
 
-BEGIN_EVENT_TABLE(wxPickerBase, wxControl)
-    EVT_SIZE(wxPickerBase::OnSize)
-END_EVENT_TABLE()
-
-
 // ----------------------------------------------------------------------------
 // wxPickerBase
 // ----------------------------------------------------------------------------
@@ -177,11 +172,4 @@ void wxPickerBase::OnTextCtrlUpdate(wxCommandEvent &)
     UpdatePickerFromTextCtrl();
 }
 
-void wxPickerBase::OnSize(wxSizeEvent &event)
-{
-    if (GetAutoLayout())
-        Layout();
-    event.Skip();
-}
-
 #endif // Any picker in use