X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4b26b60fac70f89cf33935f78469e27536d8b614..63691d4ff993bb4b7f09c3d0391084e2cd4f5ba4:/src/mac/button.cpp diff --git a/src/mac/button.cpp b/src/mac/button.cpp index aaf91f644e..253671b6fe 100644 --- a/src/mac/button.cpp +++ b/src/mac/button.cpp @@ -34,6 +34,9 @@ bool wxButton::Create(wxWindow *parent, wxWindowID id, const wxString& label, const wxValidator& validator, const wxString& name) { + if ( !wxButtonBase::Create(parent, id, pos, size, style, validator, name) ) + return false; + Rect bounds ; Str255 title ;