]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/statbox.cpp
Use wxControl instead of wxControlWithItems with wxRTTI macros.
[wxWidgets.git] / src / gtk / statbox.cpp
index 6da1bb6c668dd9401e26cc72a1eb75fce4b3f4b9..151f04d0faad2f995ad7341f15127a6f24fe3470 100644 (file)
@@ -48,8 +48,6 @@ static void size_allocate(GtkWidget* widget, GtkAllocation* alloc, void*)
 // wxStaticBox
 //-----------------------------------------------------------------------------
 
-IMPLEMENT_DYNAMIC_CLASS(wxStaticBox, wxControl)
-
 wxStaticBox::wxStaticBox()
 {
 }
@@ -114,7 +112,7 @@ void wxStaticBox::AddChild( wxWindowBase *child )
     {
         // make this window a container of other wxWindows by instancing a wxPizza
         // and packing it into the GtkFrame:
-        m_wxwindow = wxPizza::New( 0 );
+        m_wxwindow = wxPizza::New();
         gtk_widget_show( m_wxwindow );
         gtk_container_add( GTK_CONTAINER (m_widget), m_wxwindow );
     }