]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/statbox.cpp
SWIGged updates for wxGTK
[wxWidgets.git] / src / gtk / statbox.cpp
index fdc5f6eb5e50911d2249b35679c0d24f13616e09..07c354e4c4e399efc4fafc5a045934eb784f3d5c 100644 (file)
@@ -58,12 +58,7 @@ bool wxStaticBox::Create( wxWindow *parent,
         return FALSE;
     }
 
-    m_isStaticBox = TRUE;
-
-    if (label.empty())
-        m_widget = gtk_frame_new( (char*) NULL );
-    else
-        m_widget = gtk_frame_new( m_label.mbc_str() );
+    m_widget = gtk_frame_new(m_label.empty() ? (char *)NULL : m_label.mbc_str());
 
     m_parent->DoAddChild( this );