From: Guillermo Rodriguez Garcia Date: Thu, 16 Dec 1999 14:52:25 +0000 (+0000) Subject: Compilation fix when wxUSE_OWNER_DRAWN is 0 X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/90002c499c3ad62868902e05d2ccccba775bba4e?hp=d32548aa77d20293dd1a7cf7df7eb56b95a00166 Compilation fix when wxUSE_OWNER_DRAWN is 0 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/menuitem.cpp b/src/msw/menuitem.cpp index 2039b073f0..f9e310d9a9 100644 --- a/src/msw/menuitem.cpp +++ b/src/msw/menuitem.cpp @@ -88,9 +88,9 @@ wxMenuItem::wxMenuItem(wxMenu *pParentMenu, const wxString& text, const wxString& strHelp, bool bCheckable, - wxMenu *pSubMenu) : + wxMenu *pSubMenu) #if wxUSE_OWNER_DRAWN - wxOwnerDrawn(text, bCheckable) + : wxOwnerDrawn(text, bCheckable) #endif // owner drawn { wxASSERT_MSG( pParentMenu != NULL, wxT("a menu item should have a parent") );