Commit Graph

50 Commits

Author SHA1 Message Date
Włodzimierz Skiba
532d575bd9 Allow MSW Base be usable in other ports than wxMSW (ie. wxTVision in windows console). Adjustements for limited setup.h (as in wxTV) and minor source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-10 17:53:19 +00:00
Michael Wetherell
aaf996e5ef I don't think wxX11 and wxMGL support EVT_CONTEXT_MENU yet
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-18 20:39:34 +00:00
Robert Roebling
98f297837a Readded test for wxMenuItem::SetLabel() to sample.
Support for hotkeys in names functions for GTK+2.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-16 16:53:55 +00:00
Robert Roebling
ac103441d1 Applied patch which solved conflicts between wxWidgets
and GTK+'s context menu code.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-16 15:27:15 +00:00
Vadim Zeitlin
9f486b326a gave different accels to different radio items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 22:35:22 +00:00
Václav Slavík
232ba4c332 compilation fix: only us-ascii is safe in sources
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-25 18:56:33 +00:00
Dimitri Schoolwerth
2153bf897a replaced menu calls Append([...], true) with the less cryptic AppendCheckItem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-13 00:02:35 +00:00
Mattia Barbon
c1a48eafdf Warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-05 20:49:42 +00:00
Julian Smart
be5a51fb59 More name changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-25 11:20:37 +00:00
Włodzimierz Skiba
1242c2d976 Menu sample is helpful in bringing new port and should work in limited setup.h. My first wxW commit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-18 11:52:25 +00:00
Vadim Zeitlin
ba8eb933c4 and now fixed USE_CONTEXT_MENU definition as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-13 10:47:02 +00:00
Vadim Zeitlin
51a9eb7327 fixed USE_CONTEXT_MENU tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-13 10:46:17 +00:00
Vadim Zeitlin
62ad15a5b2 do use context menu event under wxGTK, it is supported there now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-08 19:15:46 +00:00
Julian Smart
6ee9b7b53e Applied patch [ 868373 ] Missed Unicode markup in menu sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-08 11:36:38 +00:00
Vadim Zeitlin
deadb443c6 skip event after loggig
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-30 13:49:17 +00:00
Julian Smart
256b8649ff Add longtool tip for a button in wxToolBar test
Various warning suppressions


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-11 12:52:20 +00:00
Mattia Barbon
65c0217e32 Compilation fix for wxUSE_STL.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 21:12:25 +00:00
Vadim Zeitlin
4760fa9109 test popup menu help strings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-02 22:59:37 +00:00
Julian Smart
c377f1bef4 Added submenu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 20:35:12 +00:00
Vadim Zeitlin
2e491df9fa printf() format warning fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-08 11:28:57 +00:00
Stefan Csomor
0c2d357716 context menu support for mac enabled
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-06 16:56:06 +00:00
Mattia Barbon
aff23fcd97 Unicode compilation fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-22 20:14:18 +00:00
Mattia Barbon
42ed75321c More samples/Unicode fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-15 10:23:11 +00:00
Gilles Depeyrot
f6d90fb9ce added commands to search for menus and menu items by label
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-14 21:12:47 +00:00
Vadim Zeitlin
eb1ab6f915 printf() format warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-14 18:38:31 +00:00
Vadim Zeitlin
d65c269b3f 1. implemented radio menu items for wxGTK
2. changed (in most cases blindly) code for all the others
3. added wx/features.h
4. update wxMenu[Item] docs

----------------------------------------------------------------------
Committing in .

Modified Files:
	distrib/msw/tmake/filelist.txt docs/changes.txt
	docs/latex/wx/menu.tex docs/latex/wx/menuitem.tex
	include/wx/defs.h include/wx/menu.h include/wx/menuitem.h
	include/wx/gtk/menu.h include/wx/gtk/menuitem.h
	include/wx/mac/menuitem.h include/wx/motif/menuitem.h
	include/wx/msw/menuitem.h include/wx/os2/MENUITEM.H
	include/wx/univ/menuitem.h samples/menu/menu.cpp
	src/common/menucmn.cpp src/gtk/menu.cpp src/mac/menuitem.cpp
	src/motif/menuitem.cpp src/msw/menuitem.cpp
	src/os2/MENUITEM.CPP src/univ/menu.cpp
Added Files:
	include/wx/features.h
----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-18 19:41:35 +00:00
Vadim Zeitlin
ccef86c75d added EVT_MENU_OPEN and EVT_MENU_CLOSE events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-23 23:16:32 +00:00
Vadim Zeitlin
5c7766de90 added commands to rename the menus and menu items for testing various characters in the menu labels
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-20 16:41:35 +00:00
Gilles Depeyrot
f91bf72fb0 use "..." instead of <...> for wx headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-20 21:31:04 +00:00
George Tasker
92a19c2e77 All occurances of #include <wx/wxprec.h> changed to #include "wx/wxprec.h"
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-30 13:33:34 +00:00
Vadim Zeitlin
268766dd1f fixed crash in OnSize() handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-10 00:11:23 +00:00
Mattia Barbon
4693b20c75 Unicode compilation fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-21 20:21:44 +00:00
Vadim Zeitlin
24e78d272a moved WX_USE_THEME macros inside IMPLEMENT_APP
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-10 15:14:57 +00:00
Julian Smart
6d6a67a70a Added UnivDebug, UnivRelease configurations to project file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-04 13:18:28 +00:00
Vadim Zeitlin
6ef022bdff compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-02 10:43:08 +00:00
Vadim Zeitlin
e421922f90 MSW compilation fixes - widgets sample runs!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-27 00:27:24 +00:00
Vadim Zeitlin
4bc1afd502 added text style support to wxTextCtrl for MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-27 03:28:28 +00:00
Vadim Zeitlin
6d5b2a57cf tried to fix the accel string drawing in the owner drawn menu items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-21 23:58:58 +00:00
Julian Smart
d3d6931427 Added test to prevent crash in LogMenuEvent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-02 12:49:26 +00:00
Julian Smart
8088e4c628 Added accelerator to bitmap menu item
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-13 11:34:15 +00:00
Robert Roebling
fcaf9e704e Added test for bitmap menu.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-12 08:17:23 +00:00
Bryan Petty
3ca6a5f046 second merge of the 2.2 branch (RL)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-08 06:11:51 +00:00
Bryan Petty
f6bcfd974e merged 2.2 branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-15 19:51:35 +00:00
Vadim Zeitlin
32db328c7a wxMenu::Insert() seems to work, bug in wxMenuBase::Insert() is corrected
(inserting an item at pos == GetCount() should be the same as appending and
not an error)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-04 14:10:31 +00:00
Vadim Zeitlin
f03ec224dc wxMenuBar::Insert() seems to work!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-04 13:43:59 +00:00
Vadim Zeitlin
e66ad5c68d removing Makefile.ams (and minor additions/fixes to the samples)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-08 15:06:41 +00:00
Robert Roebling
a583e623c0 Some menu things.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-03 17:48:23 +00:00
Vadim Zeitlin
a80c322c0d more tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 16:17:16 +00:00
Vadim Zeitlin
1987af7e9f wxGTK compiles (and seems to work) again after wxMenu changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 15:21:40 +00:00
Vadim Zeitlin
717a57c2fa 1. wxMenu changes: wxMenuBase appears, several new functions for dynamic menu
handling as well
2. new sample: menu
3. small corrections to wxFileHistory made possible by wxMenu changes
4. ugly fix for panel loaded from resources and TABbing
5. wxDataObject &c doc updates


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 01:25:43 +00:00