-1, -1, 668, 510
);
- // Show the frame
+ // Show the frame
frame->Show(TRUE);
return TRUE;
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"));
void FortyFrame::OnCloseWindow(wxCloseEvent& event)
{
- if (m_canvas->OnCloseCanvas())
+ if (m_canvas->OnCloseCanvas() )
{
this->Destroy();
}