]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/statbox.cpp
Bring back double border
[wxWidgets.git] / src / gtk / statbox.cpp
index a5314ce4df5d875bb04487ee1db5314d93886596..783d1315fabe65a444d2535f65a4f1544abff774 100644 (file)
@@ -90,13 +90,11 @@ bool wxStaticBox::Create( wxWindow *parent,
                           long style,
                           const wxString& name )
 {
-    m_needParent = TRUE;
-
     if (!PreCreation( parent, pos, size ) ||
         !CreateBase( parent, id, pos, size, style, wxDefaultValidator, name ))
     {
         wxFAIL_MSG( wxT("wxStaticBox creation failed") );
-        return FALSE;
+        return false;
     }
 
     m_widget = GTKCreateFrame(label);