]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/statline.cpp
Fix for problem when Realize is re-called on a vertical toolbar, it
[wxWidgets.git] / src / gtk / statline.cpp
index d10067f6acd179fe56bff23063ccb29b3bc73452..0e05c9e758d6b988a9c4d0f03d2f845fc798983f 100644 (file)
@@ -7,10 +7,6 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma implementation "statline.h"
-#endif
-
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
@@ -79,4 +75,11 @@ bool wxStaticLine::Create( wxWindow *parent, wxWindowID id,
     return TRUE;
 }
 
+// static
+wxVisualAttributes
+wxStaticLine::GetClassDefaultAttributes(wxWindowVariant WXUNUSED(variant))
+{
+    return GetDefaultAttributesFromGTKWidget(gtk_vseparator_new);
+}
+
 #endif