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:
Robin Dunn
2005-02-28 19:34:13 +00:00
parent 8c87c6b429
commit 03cef64339

View File

@@ -3576,7 +3576,7 @@ wxWindowMSW::MSWOnDrawItem(int WXUNUSED_UNLESS_ODRAWN(id),
if ( id == 0 && pDrawStruct->CtlType == ODT_MENU )
{
wxMenuItem *pMenuItem = (wxMenuItem *)(pDrawStruct->itemData);
if (!pMenuItem) return false;
wxCHECK_MSG( pMenuItem && pMenuItem->IsKindOf(CLASSINFO(wxMenuItem)),
false, _T("MSWOnDrawItem: bad wxMenuItem pointer") );