X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cb7d73757f9e8771e7d8fc6b22f1acf27aac35bd..e733c4ce1e24cf7e4b0b0d8362fc59aaa7a7641c:/src/os2/icon.cpp diff --git a/src/os2/icon.cpp b/src/os2/icon.cpp index a7a27c525f..3d1a4cc723 100644 --- a/src/os2/icon.cpp +++ b/src/os2/icon.cpp @@ -4,7 +4,6 @@ // Author: David Webster // Modified by: // Created: 10/09/99 -// RCS-ID: $Id$ // Copyright: (c) David Webster // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -13,24 +12,22 @@ #include "wx/wxprec.h" #ifdef __BORLANDC__ -#pragma hdrstop + #pragma hdrstop #endif +#include "wx/icon.h" + #ifndef WX_PRECOMP - #include "wx/defs.h" #include "wx/list.h" #include "wx/utils.h" #include "wx/app.h" - #include "wx/icon.h" #include "wx/log.h" #endif #include "wx/os2/private.h" #include "assert.h" -#include "wx/icon.h" - - IMPLEMENT_DYNAMIC_CLASS(wxIcon, wxGDIObject) +IMPLEMENT_DYNAMIC_CLASS(wxIcon, wxGDIObject) // ============================================================================ // implementation @@ -63,7 +60,7 @@ wxIcon::wxIcon( const char WXUNUSED(bits)[], } wxIcon::wxIcon( const wxString& rIconFile, - long lFlags, + wxBitmapType lFlags, int nDesiredWidth, int nDesiredHeight ) :m_bIsXpm(false) @@ -87,9 +84,7 @@ wxIcon::~wxIcon() { } -void wxIcon::CreateIconFromXpm( - const char** ppData -) +void wxIcon::CreateIconFromXpm(const char* const* ppData) { wxBitmap vBmp(ppData); @@ -261,7 +256,7 @@ void wxIcon::CopyFromBitmap( const wxBitmap& rBmp ) } // end of wxIcon::CopyFromBitmap bool wxIcon::LoadFile( const wxString& rFilename, - long lType, + wxBitmapType lType, int nDesiredWidth, int nDesiredHeight ) {