From 90002c499c3ad62868902e05d2ccccba775bba4e Mon Sep 17 00:00:00 2001 From: Guillermo Rodriguez Garcia Date: Thu, 16 Dec 1999 14:52:25 +0000 Subject: [PATCH 1/1] 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 --- src/msw/menuitem.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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") ); -- 2.45.2