From 8fbb465f70e6924a604b9cef643d3afcec27a79b Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Thu, 9 Dec 1999 10:32:18 +0000 Subject: [PATCH] corrected mac-like placing of menu line git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/forty/forty.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/samples/forty/forty.cpp b/samples/forty/forty.cpp index 4d952a9993..bfdb920f06 100644 --- a/samples/forty/forty.cpp +++ b/samples/forty/forty.cpp @@ -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")); -- 2.47.2