]> git.saurik.com Git - wxWidgets.git/commitdiff
corrected mac-like placing of <about> menu line
authorStefan Csomor <csomor@advancedconcepts.ch>
Thu, 9 Dec 1999 10:32:18 +0000 (10:32 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Thu, 9 Dec 1999 10:32:18 +0000 (10:32 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/forty/forty.cpp

index 4d952a9993cad9bc4385f17a7e90d3ec99977fda..bfdb920f0666d2703aba59e51a58709ec5c66ca4 100644 (file)
@@ -131,6 +131,10 @@ const wxColour& FortyApp::TextColour()
 FortyFrame::FortyFrame(wxFrame* frame, char* title, int x, int y, int w, int h):
        wxFrame(frame, -1, title, wxPoint(x, y), wxSize(w, h))
 {
+#ifdef __WXMAC__
+       // we need this in order to allow the about menu relocation, since ABOUT is not the default id of the about menu 
+       wxApp::s_macAboutMenuItemId = ABOUT ;
+#endif
        // set the icon
 #ifdef __WXMSW__
        SetIcon(wxIcon("CardsIcon"));