]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/combobox.cpp
adding support for listctrl editable columns
[wxWidgets.git] / src / mac / carbon / combobox.cpp
index fc840bdec813741cbfb7b955413a844035a3a658..0f0fbdc08a360d22abb0e65c8d334fc0b2c4d17a 100644 (file)
@@ -19,6 +19,7 @@
     #include "wx/button.h"
     #include "wx/menu.h"
     #include "wx/containr.h"
+    #include "wx/toplevel.h"
 #endif
 
 #include "wx/mac/uma.h"
@@ -36,7 +37,7 @@ static int nextPopUpMenuId = 1000 ;
 
 MenuHandle NewUniqueMenu()
 {
-    MenuHandle handle = NewMenu( nextPopUpMenuId , "\pMenu" ) ;
+    MenuHandle handle = UMANewMenu(nextPopUpMenuId, wxString(wxT("Menu")), wxFont::GetDefaultEncoding() );
     nextPopUpMenuId++ ;
 
     return handle ;