// Author: David Webster
// Modified by:
// Created: 10/09/99
-// RCS-ID: $Id$
// Copyright: (c) David Webster
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#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
}
wxIcon::wxIcon( const wxString& rIconFile,
- long lFlags,
+ wxBitmapType lFlags,
int nDesiredWidth,
int nDesiredHeight )
:m_bIsXpm(false)
{
}
-void wxIcon::CreateIconFromXpm(
- const char** ppData
-)
+void wxIcon::CreateIconFromXpm(const char* const* ppData)
{
wxBitmap vBmp(ppData);
} // end of wxIcon::CopyFromBitmap
bool wxIcon::LoadFile( const wxString& rFilename,
- long lType,
+ wxBitmapType lType,
int nDesiredWidth,
int nDesiredHeight )
{