corrected mac-like placing of <about> menu line

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
1999-12-09 10:32:18 +00:00
parent 7c551d9594
commit 8fbb465f70

View File

@@ -131,6 +131,10 @@ const wxColour& FortyApp::TextColour()
FortyFrame::FortyFrame(wxFrame* frame, char* title, int x, int y, int w, int h): FortyFrame::FortyFrame(wxFrame* frame, char* title, int x, int y, int w, int h):
wxFrame(frame, -1, title, wxPoint(x, y), wxSize(w, 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 // set the icon
#ifdef __WXMSW__ #ifdef __WXMSW__
SetIcon(wxIcon("CardsIcon")); SetIcon(wxIcon("CardsIcon"));