]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/bmpbuttn_osx.cpp
Update header control when wxPropertyGridManager is resized.
[wxWidgets.git] / src / osx / bmpbuttn_osx.cpp
index 41693cbf6ed4ddff5249a01fad22370af8c9554f..a2c2eadfeef7bdfdd043d62fb99958804f93cd6f 100644 (file)
@@ -33,8 +33,8 @@ bool wxBitmapButton::Create( wxWindow *parent,
                              const wxValidator& validator,
                              const wxString& name )
 {
-    m_macIsUserPane = false;
-
+    DontCreatePeer();
+    
     if ( !wxBitmapButtonBase::Create(parent, id, pos, size, style,
                                      validator, name) )
         return false;