]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/os2/icon.h
Cast for argument to delete[] - VC6 doesn't want to delete a const pointer
[wxWidgets.git] / include / wx / os2 / icon.h
index 5ccf5424a0982a3fa340d38076a30c44de5c7c07..7ed62517f6f47d74821f4156b851ffef4bcc8213 100644 (file)
@@ -49,7 +49,7 @@ public:
     wxIcon(char** ppData) { CreateIconFromXpm(wx_const_cast(const char* const*, ppData)); }
 #endif
     wxIcon( const wxString& rName
-           ,long            lFlags = wxBITMAP_TYPE_ICO_RESOURCE
+           ,wxBitmapType    lFlags = wxBITMAP_TYPE_ICO_RESOURCE
            ,int             nDesiredWidth = -1
            ,int             nDesiredHeight = -1
           );
@@ -61,7 +61,7 @@ public:
     virtual ~wxIcon();
 
     bool LoadFile( const wxString& rName
-                  ,long            lFlags = wxBITMAP_TYPE_ICO_RESOURCE
+                  ,wxBitmapType    lFlags = wxBITMAP_TYPE_ICO_RESOURCE
                   ,int             nDesiredWidth = -1
                   ,int             nDesiredHeight = -1
                  );