First pass at adding MicroWindows support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -63,7 +63,9 @@ void wxIconRefData::Free()
|
||||
{
|
||||
if ( m_hIcon )
|
||||
{
|
||||
#ifndef __WXMICROWIN__
|
||||
::DestroyIcon((HICON) m_hIcon);
|
||||
#endif
|
||||
|
||||
m_hIcon = 0;
|
||||
}
|
||||
@@ -94,6 +96,7 @@ wxIcon::~wxIcon()
|
||||
|
||||
void wxIcon::CopyFromBitmap(const wxBitmap& bmp)
|
||||
{
|
||||
#ifndef __WXMICROWIN__
|
||||
#ifdef __WIN32__
|
||||
wxMask *mask = bmp.GetMask();
|
||||
if ( !mask )
|
||||
@@ -154,6 +157,7 @@ void wxIcon::CopyFromBitmap(const wxBitmap& bmp)
|
||||
|
||||
// wxFAIL_MSG("Bitmap to icon conversion (including use of XPMs for icons) not implemented");
|
||||
#endif // Win32/16
|
||||
#endif
|
||||
}
|
||||
|
||||
void wxIcon::CreateIconFromXpm(const char **data)
|
||||
|
Reference in New Issue
Block a user