]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/statline.cpp
No changes, just correct a wrong trailing comment in #else.
[wxWidgets.git] / src / gtk / statline.cpp
index 97bfa70cfa4a3833a159ec0a323a808a541b2490..d19a152ccb37e4c493ae99d351d3f7bfb4ecd0e6 100644 (file)
@@ -21,8 +21,6 @@
 // wxStaticLine
 //-----------------------------------------------------------------------------
 
-IMPLEMENT_DYNAMIC_CLASS(wxStaticLine, wxControl)
-
 wxStaticLine::wxStaticLine()
 {
 }
@@ -65,6 +63,7 @@ bool wxStaticLine::Create( wxWindow *parent, wxWindowID id,
             SetSize( new_size );
         }
     }
+    g_object_ref(m_widget);
 
     m_parent->DoAddChild( this );