]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/tabctrl.cpp
Added more meta-data for PyPi
[wxWidgets.git] / src / mac / tabctrl.cpp
index 4fcf069286d65a65df2d67c365ceec20acd27eee..f879b78447ee48b39f29593830cdf32cd40949b2 100644 (file)
@@ -34,6 +34,10 @@ wxTabCtrl::wxTabCtrl()
 bool wxTabCtrl::Create(wxWindow *parent, wxWindowID id, const wxPoint& pos, const wxSize& size,
             long style, const wxString& name)
 {
 bool wxTabCtrl::Create(wxWindow *parent, wxWindowID id, const wxPoint& pos, const wxSize& size,
             long style, const wxString& name)
 {
+    if ( !wxControl::Create(parent, id, pos, size,
+                            style, wxDefaultValidator, name) )
+        return false;
+
     Rect bounds ;
     Str255 title ;
     
     Rect bounds ;
     Str255 title ;