]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/icon.cpp
Add missing WXK constants for the control keys
[wxWidgets.git] / src / os2 / icon.cpp
index 7f2746b4a2a486a6d1a047387b79c5e66efdf769..bfef80f19c186aba653a76886d669cd7d9e610b8 100644 (file)
@@ -61,7 +61,7 @@ wxIcon::wxIcon( const char WXUNUSED(bits)[],
 }
 
 wxIcon::wxIcon( const wxString& rIconFile,
 }
 
 wxIcon::wxIcon( const wxString& rIconFile,
-                long            lFlags,
+                wxBitmapType    lFlags,
                 int             nDesiredWidth,
                 int             nDesiredHeight )
        :m_bIsXpm(false)
                 int             nDesiredWidth,
                 int             nDesiredHeight )
        :m_bIsXpm(false)
@@ -85,9 +85,7 @@ wxIcon::~wxIcon()
 {
 }
 
 {
 }
 
-void wxIcon::CreateIconFromXpm(
-  const char**                      ppData
-)
+void wxIcon::CreateIconFromXpm(const char* const* ppData)
 {
     wxBitmap                        vBmp(ppData);
 
 {
     wxBitmap                        vBmp(ppData);
 
@@ -259,7 +257,7 @@ void wxIcon::CopyFromBitmap( const wxBitmap& rBmp )
 } // end of wxIcon::CopyFromBitmap
 
 bool wxIcon::LoadFile( const wxString& rFilename,
 } // end of wxIcon::CopyFromBitmap
 
 bool wxIcon::LoadFile( const wxString& rFilename,
-                       long lType,
+                       wxBitmapType lType,
                        int nDesiredWidth,
                        int nDesiredHeight )
 {
                        int nDesiredWidth,
                        int nDesiredHeight )
 {