]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/checkbox.cpp
Maximize for iPhone
[wxWidgets.git] / src / univ / checkbox.cpp
index b1f443903f83f4f2e26258fd3d56cc3a41fda5c0..d07f1ad561f2987ad253dddcfaf05e6485176b87 100644 (file)
@@ -59,8 +59,6 @@ public:
 // implementation
 // ============================================================================
 
-IMPLEMENT_DYNAMIC_CLASS(wxCheckBox, wxControl)
-
 // ----------------------------------------------------------------------------
 // wxCheckBox
 // ----------------------------------------------------------------------------
@@ -80,6 +78,7 @@ bool wxCheckBox::Create(wxWindow *parent,
                         const wxValidator& validator,
                         const wxString &name)
 {
+    WXValidateStyle( &style );
     if ( !wxControl::Create(parent, id, pos, size, style, validator, name) )
         return false;