Win16 compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -185,7 +185,9 @@ bool wxStaticBitmap::MSWOnDraw(WXDRAWITEMSTRUCT *item)
|
||||
{
|
||||
LPDRAWITEMSTRUCT lpDIS = (LPDRAWITEMSTRUCT) item;
|
||||
|
||||
wxBitmap* bitmap = m_image.bitmap;
|
||||
wxCHECK_MSG( !m_isIcon, FALSE, _T("icons not supported in wxStaticBitmap") );
|
||||
|
||||
wxBitmap* bitmap = (wxBitmap *)m_image;
|
||||
if ( !bitmap->Ok() )
|
||||
return FALSE;
|
||||
|
||||
|
Reference in New Issue
Block a user