]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/icon.cpp
reorganized wxBitmap/wxBitmapHandler classes to use wxBitmapType instead of "long...
[wxWidgets.git] / src / msw / icon.cpp
index ee899f2b8abcc6a58f9aeaf09629d518553dc959..14d2029349aeb41919cea92955eda2879b820b84 100644 (file)
@@ -72,12 +72,12 @@ wxIcon::wxIcon(const char bits[], int width, int height)
 }
 
 wxIcon::wxIcon(const wxString& iconfile,
-               long flags,
+               wxBitmapType type,
                int desiredWidth,
                int desiredHeight)
 
 {
-    LoadFile(iconfile, flags, desiredWidth, desiredHeight);
+    LoadFile(iconfile, type, desiredWidth, desiredHeight);
 }
 
 wxIcon::wxIcon(const wxIconLocation& loc)
@@ -135,7 +135,7 @@ void wxIcon::CreateIconFromXpm(const char* const* data)
 }
 
 bool wxIcon::LoadFile(const wxString& filename,
-                      long type,
+                      wxBitmapType type,
                       int desiredWidth, int desiredHeight)
 {
     UnRef();