]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/menu.cpp
#ifdefs for wxMotif which doesn't have a wxTopLevelWindow implementation
[wxWidgets.git] / src / motif / menu.cpp
index 84410f4f5f92eb47ae6d73132539ad1c067c4b8e..c5d3232ead6330e8d5bde438578366a7b2355828 100644 (file)
@@ -526,8 +526,6 @@ WXWidget wxMenu::CreateMenu (wxMenuBar * menuBar, WXWidget parent, wxMenu * topM
     else
     {
         char mnem = wxFindMnemonic (title);
-        wxStripMenuCodes ((char*) (const char*) title, wxBuffer);
-
         menu = XmCreatePulldownMenu ((Widget) parent, "pulldown", args, 2);
 
         wxString title2(wxStripMenuCodes(title));