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") );