X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f03fc89fff2d6e823e7d4d14fbe14822ad6777b1..1e3698e55d7ee45267b69fa8ed5f94886ad47be9:/src/gtk1/statbmp.cpp diff --git a/src/gtk1/statbmp.cpp b/src/gtk1/statbmp.cpp index ff7fc98b4f..30431837bf 100644 --- a/src/gtk1/statbmp.cpp +++ b/src/gtk1/statbmp.cpp @@ -13,6 +13,8 @@ #include "wx/statbmp.h" +#if wxUSE_STATBMP + #include "gdk/gdk.h" #include "gtk/gtk.h" @@ -80,3 +82,5 @@ void wxStaticBitmap::SetBitmap( const wxBitmap &bitmap ) gtk_pixmap_set( GTK_PIXMAP(m_widget), m_bitmap.GetPixmap(), mask ); } } + +#endif