]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/button.cpp
removed assert which became incorrect after last change
[wxWidgets.git] / src / mac / button.cpp
index aaf91f644e701b99b9ed2075f72b261e9d39aab8..253671b6fecd2ffdcab542a648ec84a63f5effb6 100644 (file)
@@ -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 ;