]> git.saurik.com Git - wxWidgets.git/commitdiff
SN: Added #pragma implementation. Make it compile even if wxOwnerDrawn == 0
authorStefan Neis <Stefan.Neis@t-online.de>
Fri, 14 Jan 2000 22:50:09 +0000 (22:50 +0000)
committerStefan Neis <Stefan.Neis@t-online.de>
Fri, 14 Jan 2000 22:50:09 +0000 (22:50 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/os2/menuitem.cpp

index a5a809c051a9d8958d478fea80b2abc1f034c588..6382eaa1d4be388bcd26949a09999dadf24ec253 100644 (file)
 // headers & declarations
 // ============================================================================
 
+#ifdef __GNUG__
+    #pragma implementation "menuitem.h"
+#endif
+
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
@@ -76,9 +80,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") );