frmMain.cpp patch - Mailing list pgadmin-hackers

From Adam H. Pendleton
Subject frmMain.cpp patch
Date
Msg-id 3ECA4E7D.8010600@fmonkey.net
Whole thread Raw
List pgadmin-hackers
Attached is a patch against the CVS tree to put the About menu item in
the standard place on the mac.

ahp
diff -urN pgadmin3/src/ui/frmMain.cpp pgadmin3.new/src/ui/frmMain.cpp
--- pgadmin3/src/ui/frmMain.cpp    2003-05-20 05:53:05.000000000 -0400
+++ pgadmin3.new/src/ui/frmMain.cpp    2003-05-20 11:45:17.000000000 -0400
@@ -152,6 +152,9 @@
     helpMenu->Append(MNU_TIPOFTHEDAY, wxT("&Tip of the day..."),    wxT("Show a tip of the day."));
     helpMenu->AppendSeparator();
     helpMenu->Append(MNU_ABOUT, wxT("&About..."),                   wxT("Show about dialog."));
+#ifdef __WXMAC__
+    wxApp::s_macAboutMenuItemId = MNU_ABOUT;
+#endif
     menuBar->Append(helpMenu, wxT("&Help"));

     // Tree Context Menu

pgadmin-hackers by date:

Previous
From: "Adam H. Pendleton"
Date:
Subject: misc.cpp patch
Next
From: "Dave Page"
Date:
Subject: Re: frmMain.cpp patch