Commit Graph

85 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
Vadim Zeitlin
069d493e84 header I forgot to commit yesterday (sorry) as part of statusbar flicker reduction change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-15 15:10:13 +00:00
Julian Smart
4077bf8dc4 Added DoGetFieldRect
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-15 12:41:13 +00:00
Václav Slavík
71cb2ca1e3 1. implemented system menu handling in wxUniv (win32 theme only)
2. fixes to interactive moving/resizing in wxUniv


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-12 23:19:55 +00:00
Vadim Zeitlin
4e89ceb11e don't allow clicking disabled buttons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-28 21:11:41 +00:00
Vadim Zeitlin
5a73d082f0 fixes to toolbar, seems to work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-28 18:07:03 +00:00
Vadim Zeitlin
3216dbf5dc [start of] a wxUniversal implementation of wxToolBar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-27 21:42:48 +00:00
Robert Roebling
bb312b54f6 New code for greying out.
Implemented wxTB_FLAT.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-25 22:56:19 +00:00
Julian Smart
16c9a4258f Fixed conflicts with Robert's similar fixes; fixed toolbar size calculation
and allowed for vertical toolbar


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-24 23:04:46 +00:00
Robert Roebling
c08a4f0068 Added simplistic wxToolBar to wxUniversal. It
still corrupts the non-client area.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-24 19:49:36 +00:00
Robert Roebling
f809133f9e Added expose event compression.
Made wxUniv scrollbars not accept any focus
    if they are owned by the window (in contrast
    to stand alone scrollbars).
  Further corrections to ScrollWindow()


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-24 16:23:43 +00:00
Vadim Zeitlin
30827629fa fixed mouse input handling in wxUniv: the static boxes ust be transparent
or the windows inside them don't get any mouse events at all


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-20 01:37:47 +00:00
Václav Slavík
52750c2e10 copyright update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 20:30:34 +00:00
Robert Roebling
1b0b798d77 Various compile fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-11 12:04:35 +00:00
Václav Slavík
e7dda1ffa3 respect minimal wxTLW size in wxUniv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-10 19:08:54 +00:00
Václav Slavík
55e0770e6f added default ctor to wxStaticText
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-10 19:07:40 +00:00
Václav Slavík
21c3670fec fix for scrollbar's thumb update bug in wxUniv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-09 23:27:52 +00:00
Julian Smart
f79bd02d8e Various fixes for X11 compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-07 15:40:02 +00:00
Vadim Zeitlin
b920c41b60 defined wxUSE_IFF
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-05 00:14:21 +00:00
Vadim Zeitlin
a407ff6ae8 added GAUGE standard colour and use it in DrawProgressBar() if the colour
hadn't bee nset explicitly


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-04 16:34:22 +00:00
Václav Slavík
9facc12633 wxDialog::Show has default argument value in wxUniv now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-01 23:01:47 +00:00
Vadim Zeitlin
a83e14751f compilation/linking fixes for DoCaptureMouse() change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-19 19:39:53 +00:00
Vadim Zeitlin
94633ad9f1 maintaint the mouse capture stack in all ports, not just wxUniv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-19 19:31:19 +00:00
Václav Slavík
658974ae66 applied ANI images patch and added wxUSE_ICO_CUR
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-13 12:01:42 +00:00
Václav Slavík
ed72fbf723 moved InteractiveMove to wxUniv's wxTopLevelWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-08 18:06:15 +00:00
Vadim Zeitlin
a5d46b7362 added wxUSE_PROTOCOL[_XXX] and wxUSE_URL settings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-30 22:27:24 +00:00
Vadim Zeitlin
23895080c2 fixes for handling WM_SYSCOLORCHANGE - now seems to work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-08 00:26:30 +00:00
Vadim Zeitlin
2b7e44a28c added wxUSE_TIPWINDOW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-01 03:28:04 +00:00
Vadim Zeitlin
1d8c3e58b8 oops, forgot to commit the header for the notebook fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-27 14:43:26 +00:00
Vadim Zeitlin
d2d14464a5 wxUniv compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-25 00:23:19 +00:00
Václav Slavík
857dab7dcd wxToolBar support in wxUniv/wxFrame
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-24 23:59:34 +00:00
Vadim Zeitlin
dcfb179bc7 expanded the comment about redefining the client data methods a bit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-21 21:42:44 +00:00
Václav Slavík
990ff5eceb fixes for ambiquity in wxComboBox (is it correct this time?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-20 23:59:24 +00:00
Václav Slavík
926592a8cf added temporary implementation of wxChoice for wxUniv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-17 23:13:55 +00:00
Václav Slavík
90da9c3f3b forgot to update univ/toplevel.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-05 15:49:59 +00:00
Václav Slavík
6296744f45 added inactive titlebar text colour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-30 23:27:00 +00:00
Kendall Bennett
19193a2c85 Mutiple updates from SciTech for wxWindows including the following:
1. Updates to HTML applet classes in client side include syntax
2. Updates to wxUniversal for OS/2
3. Updates for better palette management on Windows
4. Misc other fixes and changes to fix build system for Watcom 11.0


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-17 22:25:56 +00:00
Václav Slavík
df02852424 added GetStdIcon support to wxRenderer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-15 22:53:01 +00:00
Václav Slavík
fe9fea7ec7 compilation fix for wxMGL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-15 22:45:37 +00:00
Vadim Zeitlin
71e030352d 1. added wxStatusBarUniv
2. several bug fixes to wxSpinButton/wxSpinCtrl


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-14 21:38:58 +00:00
Vadim Zeitlin
603fd22177 more missing WXDLLEXPORT(_DATA)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-10 23:58:18 +00:00
Vadim Zeitlin
f417f1d53f added missing WXDLLEXPORT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-10 22:33:34 +00:00
Vadim Zeitlin
d2a533a059 added missing WXDLLEXPORT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-10 22:18:19 +00:00
Václav Slavík
6821401b1b modified wxFrame/Univ to send wxSizeEvent when adding/removing bars (because client area changes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-06 22:45:51 +00:00
Václav Slavík
11d13ed03b you meant pragma interface, not pragma implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-06 13:39:51 +00:00
Václav Slavík
bff995bf71 implemented wxTLW::InteractiveMove and mostly finished wxTLW/Univ
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-30 23:01:15 +00:00
Vadim Zeitlin
d275c7eb84 added wxUSE_PALETTE and fixed compilation with it set to 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-30 22:06:39 +00:00
Václav Slavík
9c3cc136fc removed superfluous backslash
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-29 22:15:17 +00:00
Václav Slavík
813edf09b3 input handling in wxTLW/Univ
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-28 23:39:55 +00:00
Václav Slavík
ea1b0d6ccb proper fullscreen handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-28 19:18:46 +00:00