Include wx/dc.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -20,9 +20,12 @@
|
||||
|
||||
#include "wx/generic/imaglist.h"
|
||||
|
||||
#ifndef WX_PRECOMP
|
||||
#include "wx/dc.h"
|
||||
#endif
|
||||
|
||||
#include "wx/icon.h"
|
||||
#include "wx/image.h"
|
||||
#include "wx/dc.h"
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// wxImageList
|
||||
@@ -217,7 +220,7 @@ bool wxGenericImageList::Replace( int index, const wxBitmap &bitmap, const wxBit
|
||||
m_images.Erase( node );
|
||||
m_images.Insert( next, newBitmap );
|
||||
}
|
||||
|
||||
|
||||
if (mask.Ok())
|
||||
newBitmap->SetMask(new wxMask(mask));
|
||||
|
||||
@@ -277,5 +280,6 @@ bool wxGenericImageList::Draw( int index, wxDC &dc, int x, int y,
|
||||
return true;
|
||||
}
|
||||
|
||||
#endif // wxUSE_IMAGLIST
|
||||
#endif // __WXPALMOS__
|
||||
|
||||
#endif // wxUSE_IMAGLIST
|
||||
|
Reference in New Issue
Block a user