]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/menuitem.cpp
Compile fix for the iPaq. No idea why.
[wxWidgets.git] / src / msw / menuitem.cpp
index f7c1bb88cc5a396607d4d78feded5b85a0960acf..aae20373f74350125bdef85cdb5715c5b7801717 100644 (file)
@@ -89,7 +89,7 @@ wxMenuItem::wxMenuItem(wxMenu *pParentMenu,
                        wxMenu *pSubMenu)
           : wxMenuItemBase(pParentMenu, id, text, strHelp, kind, pSubMenu)
 #if wxUSE_OWNER_DRAWN
-            , wxOwnerDrawn(GetLabelFromText(text), kind == wxITEM_CHECK)
+            , wxOwnerDrawn(text, kind == wxITEM_CHECK)
 #endif // owner drawn
 {
     Init();
@@ -104,7 +104,7 @@ wxMenuItem::wxMenuItem(wxMenu *parentMenu,
           : wxMenuItemBase(parentMenu, id, text, help,
                            isCheckable ? wxITEM_CHECK : wxITEM_NORMAL, subMenu)
 #if wxUSE_OWNER_DRAWN
-            , wxOwnerDrawn(GetLabelFromText(text), isCheckable)
+            , wxOwnerDrawn(text, isCheckable)
 #endif // owner drawn
 {
     Init();
@@ -255,7 +255,7 @@ void wxMenuItem::Check(bool check)
                                    start,   // the first radio group item
                                    end,     // the last one
                                    pos,     // the one to check
-                                   MF_BYPOSITION | flags) )
+                                   MF_BYPOSITION) )
         {
             wxLogLastError(_T("CheckMenuRadioItem"));
         }