]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/checkbox.cpp
support for true two button mouse under OSX
[wxWidgets.git] / src / mac / checkbox.cpp
index cb43f117af17dbcd87106c4d951267b402719da2..3df5c00d9e1b795b8a47cb0b8357bae54b8dde9c 100644 (file)
@@ -31,6 +31,9 @@ bool wxCheckBox::Create(wxWindow *parent, wxWindowID id, const wxString& label,
            const wxValidator& validator,
            const wxString& name)
 {
+    if ( !wxCheckBoxBase::Create(parent, id, pos, size, style, validator, name) )
+        return false;
+
     Rect bounds ;
     Str255 title ;