]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/icon.h
fix build errors deriving from making wxColourData members private
[wxWidgets.git] / include / wx / msw / icon.h
index 46c29a6c3a05f347b63a4998fcf7341ab4639558..36ec8479e5f03a346ef71bec2cdcfef804954b42 100644 (file)
@@ -54,7 +54,7 @@ public:
 #endif
         // from resource/file
     wxIcon(const wxString& name,
-           wxBitmapType type = wxBITMAP_TYPE_ICO_RESOURCE,
+           wxBitmapType type = wxICON_DEFAULT_TYPE,
            int desiredWidth = -1, int desiredHeight = -1);
 
     wxIcon(const wxIconLocation& loc);
@@ -62,7 +62,7 @@ public:
     virtual ~wxIcon();
 
     virtual bool LoadFile(const wxString& name,
-                          wxBitmapType type = wxBITMAP_TYPE_ICO_RESOURCE,
+                          wxBitmapType type = wxICON_DEFAULT_TYPE,
                           int desiredWidth = -1, int desiredHeight = -1);
 
     // implementation only from now on