Get(Class)DefaultAttributes() for wxGTK controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user