]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/statbmp.cpp
fixed setting of initial font under wxGTK2
[wxWidgets.git] / src / gtk1 / statbmp.cpp
index 9d206950ea3ae8e26bf9f083fd0f342d94518c25..48a8dafe73e7241e5735e3dacecd62cb3755b5d3 100644 (file)
@@ -117,5 +117,13 @@ void wxStaticBitmap::SetBitmap( const wxBitmap &bitmap )
     }
 }
 
     }
 }
 
+// static
+wxVisualAttributes
+wxStaticBitmap::GetClassDefaultAttributes(wxWindowVariant WXUNUSED(variant))
+{
+    // TODO: overload to allow using gtk_pixmap_new?
+    return GetDefaultAttributesFromGTKWidget(gtk_label_new);
+}
+
 #endif // wxUSE_STATBMP
 
 #endif // wxUSE_STATBMP