]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/statbox_osx.cpp
Don't hard code horizontal border for wxStaticBox in wxGTK.
[wxWidgets.git] / src / osx / statbox_osx.cpp
index 2db314f9fce94bc9ab6a010430ed1ce1d79db9ae..0d9c91c62976f7aab7a343200c36dc116ef5c13d 100644 (file)
@@ -23,9 +23,9 @@ bool wxStaticBox::Create( wxWindow *parent,
     const wxSize& size,
     long style,
     const wxString& name )
-{
-    m_macIsUserPane = false;
-
+{    
+    DontCreatePeer();
+    
     if ( !wxControl::Create( parent, id, pos, size, style, wxDefaultValidator, name ) )
         return false;