Commit Graph

98 Commits

Author SHA1 Message Date
Kevin Ollivier
e608ff58de If using the system Window menu on OS X, integrate any Window wxMenu items into the system menu, rather than having duplicate Window menus (current behavior).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-23 14:53:55 +00:00
Vadim Zeitlin
4dd2530846 avoid duplicated empty help menu in localized applications (patch 1600747)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-14 00:37:07 +00:00
Robin Dunn
8377a10750 Fix for missing About menu item
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 07:31:46 +00:00
Stefan Csomor
4f74e0d132 cleanup for 10.5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-14 16:55:55 +00:00
Paul Cornett
716d032736 remove unused stuff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 05:14:39 +00:00
Vadim Zeitlin
90527a50d7 use (new) wxAcceleratorEntry::Create() instead of recently deprecated wxGetAccelFromString()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-04 23:56:56 +00:00
Włodzimierz Skiba
25466131ac Include wx/menuitem.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-19 07:12:50 +00:00
Włodzimierz Skiba
76b49cf49b Include wx/frame.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-05 08:10:55 +00:00
Włodzimierz Skiba
cdccdfabb2 Include wx/window.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 07:57:04 +00:00
Włodzimierz Skiba
de6185e212 Include wx/utils.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-02 10:39:23 +00:00
Włodzimierz Skiba
670f993563 Include wx/app.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-28 12:44:37 +00:00
Włodzimierz Skiba
e4db172a3b Include wx/log.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-26 08:21:31 +00:00
Paul Cornett
a8fb9edee4 don't convert false to a pointer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-19 03:07:42 +00:00
Stefan Csomor
4c5dae083d allowing ampersands in choices and comboboxes means we have to strip outside of uma.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-08 10:54:32 +00:00
David Surovell
5977edb9d9 cleanup - reformatting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-26 17:58:27 +00:00
Stefan Csomor
ca71e3ae27 support for standard command IDs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-10 15:36:09 +00:00
Mart Raudsepp
8907154c1a Nuke #pragma implementation/interface's
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-23 12:56:45 +00:00
Vadim Zeitlin
1fc0b5afe7 removed #if KEY_wxList_DEPRECATED: as KEY_wxList_DEPRECATED is not defined anywhere, this doesn't do anything but provoke gcc warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-08 21:51:32 +00:00
Włodzimierz Skiba
902725eefe Source cleaning inspired by and included in patch '[ 1215450 ] cleanup: unreachable code.'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-06 16:47:04 +00:00
Stefan Csomor
22e3c5bd85 adding OS level Window Menu by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-31 05:19:38 +00:00
Stefan Csomor
fd04970ab4 cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-10 06:30:03 +00:00
Stefan Csomor
b6d4a1afde refresh only for menus which have their menubar attached as well, otherwise an assert is triggered
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-10 05:23:27 +00:00
Stefan Csomor
a71dec776e must be static of course, otherwise items just get appended for every menu-build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-03 05:34:53 +00:00
Stefan Csomor
6524e8f0ee about menu item changes : can appear anywhere in a menu, separator lines above or below will be consolidated, help menu will not be shown if this was the only line
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-24 09:15:14 +00:00
Dimitri Schoolwerth
d2103c8ca5 fixed signed/unsigned mismatch warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-18 00:16:53 +00:00
Vadim Zeitlin
294ea16de3 implemented wxMenuBar ctor taking array of menus/titles for all ports; added optional flags argument to it (patch 1162726)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-17 23:45:24 +00:00
Kevin Hock
3e275c2d1d Unlike the preferences item which should only be enabled if it exists and is enabled, the quit item should be enabled unless it both exists and is disabled, otherwise Quit will not be enabled unless the application specifically adds wxID_EXIT. This should fix David's bug but still retain the old functionality. [ modified previously committed patch 1160343 ]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-16 16:03:17 +00:00
Kevin Hock
e9626c1b1f Quit application menu item needs special handling like the Preferences item. [ patch 1160343 ]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-16 05:16:55 +00:00
Stefan Csomor
1bf168351b correcting last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-28 16:02:17 +00:00
Stefan Csomor
025357ca4f cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-28 06:14:32 +00:00
Stefan Csomor
94c80d5254 submenus have to work in these as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-25 14:19:33 +00:00
Stefan Csomor
3d1a4878f3 pragma and prec-header patch applied
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-27 21:05:47 +00:00
Ryan Norton
71f2fb52d5 Enable stl compilation with wxMac - unicode no work on 10.2 though. Modded patch 1051991.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 06:57:02 +00:00
Stefan Csomor
0f4c414099 setting the invoking window added to two other wxMenuBar manipulating methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-27 12:59:19 +00:00
Vadim Zeitlin
fa4a69423d don't leave two conscutive separators after "moving" a standard menu item to the application menu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-16 20:54:46 +00:00
Kevin Hock
262ce38a2a Added back compile-time check for about/prefs menu separator; OS 9 should not have this separator appended. Can be changed later if needed to run-time check. This is better than nothing before 2.5.3.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-06 16:15:30 +00:00
Ryan Norton
2d347ce894 *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-01 03:14:30 +00:00
Ryan Norton
dcac15653e OSX only (a runtime check would be preferable as Kevin mentioned
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-01 03:09:42 +00:00
Ryan Norton
23c6ddc89c only do the seperator between about and preferences on 10.3 and up
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-01 02:49:16 +00:00
Kevin Hock
e957d41c73 wx apps did not have the separator like other apps after About--now they do
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-01 02:08:41 +00:00
Stefan Csomor
8bd2fdfd58 resource fork not used anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-23 17:48:18 +00:00
Stefan Csomor
de5914a150 having the refcon of a menu item to bear the pointer to the wxMenuItem, and have an map of menuref->wxMenu*
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-27 14:47:50 +00:00
Julian Smart
655719367a Use old licence name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 20:53:33 +00:00
Julian Smart
77ffb5937e Name and version changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 14:56:36 +00:00
Stefan Csomor
53d923413a classic case menubar changed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-01 09:37:00 +00:00
Stefan Csomor
d9d14984ff CFM Build fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-23 09:14:50 +00:00
Stefan Csomor
cda73c278d creating Apple menu programmatically
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-21 16:16:34 +00:00
Stefan Csomor
dd05f81195 removing resource based implementations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-14 17:31:35 +00:00
Stefan Csomor
ef08980525 make sure we are comparing the stripped strings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-08 12:24:41 +00:00
Julian Smart
5059f192cf Fixed warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 19:43:32 +00:00