]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/bitmap.h
synchronize GTK2 minimum version in docs
[wxWidgets.git] / include / wx / bitmap.h
index ea2322597ffd7aab349a637334ab722c256ef6b4..baf02d10ad9735caf56b07a3663a89fbca8047e1 100644 (file)
@@ -243,7 +243,11 @@ protected:
     #define wxBITMAP_DEFAULT_TYPE    wxBITMAP_TYPE_XPM
     #include "wx/x11/bitmap.h"
 #elif defined(__WXGTK20__)
-    #define wxBITMAP_DEFAULT_TYPE    wxBITMAP_TYPE_XPM
+    #ifdef __WINDOWS__
+        #define wxBITMAP_DEFAULT_TYPE    wxBITMAP_TYPE_BMP_RESOURCE
+    #else
+        #define wxBITMAP_DEFAULT_TYPE    wxBITMAP_TYPE_XPM
+    #endif
     #include "wx/gtk/bitmap.h"
 #elif defined(__WXGTK__)
     #define wxBITMAP_DEFAULT_TYPE    wxBITMAP_TYPE_XPM