Another frmMain.cpp patch

Поиск
Список
Период
Сортировка
От Adam H. Pendleton
Тема Another frmMain.cpp patch
Дата
Msg-id 3ECA5778.8040000@fmonkey.net
обсуждение исходный текст
Список pgadmin-hackers
The attached patch attaches the Tools->Options Menu to the
Application->Preferences under Mac.  Unfortunately, wxWindows only
supports this feature with the CVS HEAD branch of the wxWindows code, so
it doesn't really do anything (but it doesn't hurt to have it in there
for the future).

ahp
diff -urN pgadmin3/src/ui/frmMain.cpp pgadmin3.new/src/ui/frmMain.cpp
--- pgadmin3/src/ui/frmMain.cpp    2003-05-20 11:51:31.000000000 -0400
+++ pgadmin3.new/src/ui/frmMain.cpp    2003-05-20 12:01:41.000000000 -0400
@@ -137,6 +137,9 @@
     toolsMenu->Append(MNU_STATUS, wxT("Server Status"),             wxT("Displays the current database status."));
     toolsMenu->AppendSeparator();
     toolsMenu->Append(MNU_OPTIONS, wxT("&Options..."),              wxT("Show options dialog."));
+#ifdef __WXMAC__
+    wxApp::s_macPreferencesMenuItemId = MNU_OPTIONS;
+#endif
     menuBar->Append(toolsMenu, wxT("&Tools"));

     // View Menu

В списке pgadmin-hackers по дате отправления:

Предыдущее
От: "Adam H. Pendleton"
Дата:
Сообщение: Re: frmMain.cpp patch
Следующее
От: "Adam H. Pendleton"
Дата:
Сообщение: configure.ac patch