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 |
|
Julian Smart
|
c393c74021
|
Implemented Enable for wxMenuBar to avoid assert
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2004-04-01 19:28:13 +00:00 |
|
David Elliott
|
4224f05975
|
Instead of m_menuBar use GetMenuBar() which will be modified (with next patch)
to traverse up the menu hierarchy to return the menu bar.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2004-03-30 00:43:16 +00:00 |
|
Stefan Csomor
|
a9412f8f03
|
font encoding support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2004-02-08 06:23:07 +00:00 |
|
Robin Dunn
|
9add93670b
|
wxMenu::Append (and similar) now return a pointer to the wxMenuItem
that was added. Checked on MSW, GTK, and Mac, other port authors
please double check changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2004-01-23 18:46:05 +00:00 |
|
Stefan Csomor
|
fa9f937f05
|
applied bug fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2003-10-04 08:26:05 +00:00 |
|
Stefan Csomor
|
2202608853
|
unicode fixes, enabling notebook images again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2003-08-19 10:00:56 +00:00 |
|
Václav Slavík
|
a3bf7524f3
|
removed WXWIN_COMPATIBILITY and WXWIN_COMPATIBILITY_2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2003-08-17 12:50:53 +00:00 |
|
Stefan Csomor
|
5fe384748c
|
changed Remove to RemoveAt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2003-07-05 19:48:05 +00:00 |
|
David Elliott
|
1b1d2207ea
|
Add ability to have a wxMenuBar as a common menu
- static wxMenuBar::MacSetCommonMenuBar()
- static wxMenuBar::MacGetCommonMenuBar()
- static wxMenuBar::s_macCommonMenuBar;
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2003-06-19 18:17:33 +00:00 |
|
Stefan Csomor
|
4ab107d7f1
|
corrected error in last fix for insert items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2003-06-11 08:34:07 +00:00 |
|
Robin Dunn
|
58751a8685
|
fix so wxMenu::InsertItem actually inserts rather than overwrites
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2003-06-06 23:46:36 +00:00 |
|
Vadim Zeitlin
|
5be55d562f
|
compilation warnings fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2003-06-01 15:16:07 +00:00 |
|
Gilles Depeyrot
|
06ea1f023e
|
removed unused variables
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2003-04-19 08:13:29 +00:00 |
|
Stefan Csomor
|
427ff66291
|
wxMac Unicode support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2003-03-27 20:33:32 +00:00 |
|
Stefan Csomor
|
d46342af50
|
submenu preparation in two methods encapsulated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2003-03-10 15:50:28 +00:00 |
|