Commit Graph

12825 Commits

Author SHA1 Message Date
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
Robin Dunn
cac344f664 Fixed a typo in one of the virtual callback macros.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-18 18:30:09 +00:00
Václav Slavík
2279b45ad9 fix to segfault in system menu code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-17 21:44:59 +00:00
Václav Slavík
66858adfc4 better handling situation when active frame is destroyed or hidden
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-17 21:44:31 +00:00
Václav Slavík
baf736e1f3 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-17 21:44:03 +00:00
Václav Slavík
79954978c0 fixed rendering artifact in popup menus
(caused by incorrect implicit clipping in wxClientDC)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-17 21:43:51 +00:00
Václav Slavík
999c13cc65 minor fix to wxDC::SetClippingRegion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-17 21:43:38 +00:00
Václav Slavík
b53195fda4 more corrections to interactive resizing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-17 21:43:26 +00:00
Robert Roebling
ec47a14774 A draft for a possible fix to the redraw
problems when using control with borders
     and the wxNO_FULL_REPAINT_ON_RESIZE flag
     under wxUniv.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-17 20:07:17 +00:00
Robert Roebling
5268c5a32b New WM decoration code. It fails to resize dialogs
sometimes just like the previous versions.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-17 15:29:57 +00:00
Gilles Depeyrot
90f3fe56ee added url of Fink Unix to Mac OS X porting instructions
added compatibility version options to dynamic linking under Darwin


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-17 15:05:58 +00:00
Robert Roebling
2f12683e40 New attempt to implement wxNO_FULL_REDRAW_ON_REPAINT.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-17 14:31:31 +00:00
Gilles Depeyrot
0f9390c3c5 added wxMAC and wxMOTIF to title conditional compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-17 14:27:10 +00:00
Gilles Depeyrot
15e758d12f added missing consts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-17 14:23:02 +00:00
Vadim Zeitlin
2f6c54eb07 patch from Dimitri fixing a few memory leaks and unTABbing the sources
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-17 14:16:03 +00:00
Václav Slavík
1c9f1f4d51 implemented 'shaft scrolling' of children in wxUnivWindow::ScrollWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-17 14:13:56 +00:00
Václav Slavík
d027179b48 use Calc(Un)ScrolledPosition instead of wxClientDC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-17 14:13:35 +00:00
Václav Slavík
8c2f379786 added Calc(Un)ScrolledPosition taking wxPoint
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-17 14:13:14 +00:00
Vadim Zeitlin
66ce9e0609 clear the frame statusbar when the mouse leaves the toolbar or enters a tool without help string
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-17 13:58:15 +00:00
Václav Slavík
45647dcf10 Chris' wxImage::SaveFile(filename_only) patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-17 11:35:32 +00:00
Václav Slavík
4fa0a5b443 docs corrections and docs for Chris' wxImage::SaveFile(filename_only) patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-17 11:34:32 +00:00
Ron Lee
b8be0b4e05 really, it will build for 'doze this time.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-17 07:48:31 +00:00
Ron Lee
2981a033e1 build fix for mingw-cross.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-17 07:38:01 +00:00
Ron Lee
67e2efca87 Added wxBufferedDC class.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-17 06:34:06 +00:00
Václav Slavík
33f71b3cf4 fix HTML browser setup dialog under MSW and make the 'OK' button default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-17 00:53:17 +00:00
Václav Slavík
300b5dfabc use wxUniv's setup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-17 00:52:43 +00:00
Václav Slavík
a502b34f9c initial wxMGL readmes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-17 00:52:21 +00:00
Václav Slavík
a7c8e710e9 added wxCURSOR_RIGHT_ARROW to wxMGL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-17 00:51:44 +00:00
Václav Slavík
22fb32d507 restored old casts (there was a reason for them)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-17 00:51:18 +00:00
Václav Slavík
24dcb6daf8 my previous commit corrupted the catalogs, reverted
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-17 00:51:05 +00:00
Robin Dunn
49df1f5269 Newly SWIGged sources for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-17 00:20:45 +00:00
Robin Dunn
f29c177351 Fixed compilation error and a stupid typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-17 00:19:43 +00:00
Václav Slavík
e095264892 hide tree root on wxMSW in wxHtmlHelpController
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-16 19:35:47 +00:00
Václav Slavík
f6ed38239c applied wxTR_HIDE_ROOT patch for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-16 19:35:15 +00:00
Václav Slavík
acf4d8587a make it possible to have empty lines in wxListCtrl
in report mode (mandatory for wxEditableListBox)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-16 19:34:15 +00:00
Václav Slavík
55232d19fe fixes to wxEditableListBox logic
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-16 19:33:29 +00:00
Julian Smart
333f4ac09d Corrected typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-16 16:02:40 +00:00
Julian Smart
1016f0deb6 Added timeout to Dispatch(); attempted implementation of
wxSTAY_ON_TOP


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-16 15:46:44 +00:00
Vadim Zeitlin
efa3835048 another minor fix for wxTR_HIDE_ROOT case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-16 15:28:04 +00:00
Vadim Zeitlin
11ab1dfbfe enhanced sample to show the state of the different styles, added reset to default command
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-16 15:10:43 +00:00
Vadim Zeitlin
c9b142c9f8 fix for GetParent() in wxTR_HIDE_ROOT case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-16 15:10:12 +00:00
Vadim Zeitlin
a9c1265fca added support for wxTR_HIDE_ROOT style (patch 529614)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-16 15:08:20 +00:00
Vadim Zeitlin
75cd928833 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-16 13:49:40 +00:00
Vadim Zeitlin
9cb0033cb2 applied patch 528960 (a few minor bug fixes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-16 13:04:01 +00:00
Robert Roebling
2d4b5a5e99 Removed notebook tab flicker.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-16 11:35:12 +00:00
David Webster
400c9be132 Do not use argument defaults in actual function argument list.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-16 01:52:18 +00:00
Vadim Zeitlin
7152f0c68d restore Robin's code (reverted previous commit)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-16 00:06:33 +00:00
Václav Slavík
b1eeda4084 applied patch for seeking in GIF images
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-16 00:06:23 +00:00
Vadim Zeitlin
bd3d0bb953 fixed a bug with client rect calculation in the recent separator erasing fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-15 23:59:43 +00:00
Václav Slavík
b931f7ee94 applied patch for seeking in GIF images
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-15 23:59:09 +00:00