]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/statbox.cpp
wxMessageBox off the main thread lost result code.
[wxWidgets.git] / src / gtk1 / statbox.cpp
index c000c1306aee609bd41a2c5f5e9929b222622b09..3cf3f6f16150722ecba255f7b489b7f93e730a7b 100644 (file)
@@ -1,8 +1,7 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        gtk/statbox.cpp
+// Name:        src/gtk1/statbox.cpp
 // Purpose:
 // Author:      Robert Roebling
-// Id:          $Id$
 // Copyright:   (c) 1998 Robert Roebling
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
@@ -13,7 +12,7 @@
 #if wxUSE_STATBOX
 
 #include "wx/statbox.h"
-#include "wx/gtk/private.h"
+#include "wx/gtk1/private.h"
 
 #include "gdk/gdk.h"
 #include "gtk/gtk.h"
@@ -22,8 +21,6 @@
 // wxStaticBox
 //-----------------------------------------------------------------------------
 
-IMPLEMENT_DYNAMIC_CLASS(wxStaticBox, wxControl)
-
 wxStaticBox::wxStaticBox()
 {
 }
@@ -88,9 +85,6 @@ void wxStaticBox::SetLabel( const wxString& label )
 void wxStaticBox::DoApplyWidgetStyle(GtkRcStyle *style)
 {
     gtk_widget_modify_style(m_widget, style);
-#ifdef __WXGTK20__
-    gtk_widget_modify_style(GTK_FRAME(m_widget)->label_widget, style);
-#endif
 }
 
 // static