]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/icon.h
support retina display
[wxWidgets.git] / include / wx / icon.h
index 3b7b9b20a53ca9a68cf70fee771c133afab05585..5eebb3f38e0d1286879112f291d23817ca60c85d 100644 (file)
   #define wxICON_DEFAULT_TYPE   wxBITMAP_TYPE_XPM
   #include "wx/motif/icon.h"
 #elif defined(__WXGTK20__)
-  #define wxICON_DEFAULT_TYPE   wxBITMAP_TYPE_XPM
+  #ifdef __WINDOWS__
+    #define wxICON_DEFAULT_TYPE   wxBITMAP_TYPE_ICO_RESOURCE
+  #else
+    #define wxICON_DEFAULT_TYPE   wxBITMAP_TYPE_XPM
+  #endif
   #include "wx/generic/icon.h"
 #elif defined(__WXGTK__)
   #define wxICON_DEFAULT_TYPE   wxBITMAP_TYPE_XPM