X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/427ff66291af2d8dd34ff5ee68c81436997144a1..8471ea90331c42693823ede04ded5fd4d5bf008b:/src/mac/tabctrl.cpp diff --git a/src/mac/tabctrl.cpp b/src/mac/tabctrl.cpp index 4fcf069286..f879b78447 100644 --- a/src/mac/tabctrl.cpp +++ b/src/mac/tabctrl.cpp @@ -34,6 +34,10 @@ wxTabCtrl::wxTabCtrl() 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 ;