]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/frame.cpp
allow a - at the beginning of a menu item (would become a separator by default)
[wxWidgets.git] / src / msw / frame.cpp
index 1ca248342e661b8e3ee169e84fe4491f04e7fee3..e8890f42f2e7e629b5abac75da4f95a465f0f48f 100644 (file)
@@ -190,11 +190,15 @@ bool wxFrame::Create(wxWindow *parent,
                      const wxString& name)
 {
     if ( !wxTopLevelWindow::Create(parent, id, title, pos, size, style, name) )
-        return FALSE;
+        return false;
 
     SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_APPWORKSPACE));
 
-    return TRUE;
+#ifdef __SMARTPHONE__
+    SetLeftMenu(wxID_EXIT, _("Done"));
+#endif
+
+    return true;
 }
 
 wxFrame::~wxFrame()