Oops, checked in wrong file by mistake. Reverted last change.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -3576,7 +3576,7 @@ wxWindowMSW::MSWOnDrawItem(int WXUNUSED_UNLESS_ODRAWN(id),
|
|||||||
if ( id == 0 && pDrawStruct->CtlType == ODT_MENU )
|
if ( id == 0 && pDrawStruct->CtlType == ODT_MENU )
|
||||||
{
|
{
|
||||||
wxMenuItem *pMenuItem = (wxMenuItem *)(pDrawStruct->itemData);
|
wxMenuItem *pMenuItem = (wxMenuItem *)(pDrawStruct->itemData);
|
||||||
if (!pMenuItem) return false;
|
|
||||||
wxCHECK_MSG( pMenuItem && pMenuItem->IsKindOf(CLASSINFO(wxMenuItem)),
|
wxCHECK_MSG( pMenuItem && pMenuItem->IsKindOf(CLASSINFO(wxMenuItem)),
|
||||||
false, _T("MSWOnDrawItem: bad wxMenuItem pointer") );
|
false, _T("MSWOnDrawItem: bad wxMenuItem pointer") );
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user