]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/menuitem.cpp
don't include windows.h unless neccessary
[wxWidgets.git] / src / mac / menuitem.cpp
index d6b12d09baf6019b2b8200a6c2c740afe1435e83..33b337518ee1b9e390228a19041cd20cc7ad09bd 100644 (file)
@@ -319,7 +319,7 @@ void wxMenuItem::SetText(const wxString& text)
                {
                        Str255 label;
                        MacBuildMenuString( label , NULL , NULL , text ,false);
                {
                        Str255 label;
                        MacBuildMenuString( label , NULL , NULL , text ,false);
-                       UMASetMenuItemText( m_parentMenu->GetHMenu() , index , label ) ; // checkmark
+                       ::SetMenuItemText( m_parentMenu->GetHMenu() , index , label ) ; // checkmark
                }
        }
 
                }
        }