X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a1b806b98241ab649c169aaa1f134df85e80fb8b..ad653fa23069c5d9378247084f03c9a718c3ad62:/src/gtk/statbmp.cpp?ds=sidebyside diff --git a/src/gtk/statbmp.cpp b/src/gtk/statbmp.cpp index a1c66085e3..19391bbb7e 100644 --- a/src/gtk/statbmp.cpp +++ b/src/gtk/statbmp.cpp @@ -75,8 +75,7 @@ void wxStaticBitmap::SetBitmap( const wxBitmap &bitmap ) wxVisualAttributes wxStaticBitmap::GetClassDefaultAttributes(wxWindowVariant WXUNUSED(variant)) { - // TODO: overload to allow using gtk_pixmap_new? - return GetDefaultAttributesFromGTKWidget(gtk_label_new); + return GetDefaultAttributesFromGTKWidget(gtk_image_new()); } #endif // wxUSE_STATBMP