]> git.saurik.com Git - wxWidgets.git/commitdiff
Compilation fix when wxUSE_OWNER_DRAWN is 0
authorGuillermo Rodriguez Garcia <guille@iies.es>
Thu, 16 Dec 1999 14:52:25 +0000 (14:52 +0000)
committerGuillermo Rodriguez Garcia <guille@iies.es>
Thu, 16 Dec 1999 14:52:25 +0000 (14:52 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/menuitem.cpp

index 2039b073f0732b1c211d0e74f99238487e475ace..f9e310d9a9994cc8a42def673c56bf4420b16ca1 100644 (file)
@@ -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") );