Commit Graph

189 Commits

Author SHA1 Message Date
Vadim Zeitlin
4ccf704abd removed a few warnings and CW compilation problems (patch from Dimitri)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-27 18:43:13 +00:00
Mattia Barbon
f618020a15 wxIconBundle implementation.
wxTLW::SetIcons() properly implemented for wxMotif, wxGTK, wxMSW, wxX11, wxUniversal
Placeholders that just call SetIcon for wxOS2 and wxMac.
Regenerated makefiles.
Added hardwired wxSYS_ICON_X/Y = 32 for wxGTK.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-26 21:54:23 +00:00
Gilles Depeyrot
27e2d60662 minimum changes required for toolbar text related changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-26 20:52:26 +00:00
Václav Slavík
0e04ef47f6 move wxApp::GetStdIcon to wxArtProvider
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-24 00:19:01 +00:00
Václav Slavík
546bfbea81 wxITEM_FOO instead of wxItem_Foo, for the sake of consistency
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-22 19:18:51 +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
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
Stefan Csomor
761e1e0702 added default style wxFRAME_TOOL_WINDOW to creation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-19 10:44:34 +00:00
Stefan Csomor
22385679c4 new bitmap creation code for mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-16 13:37:23 +00:00
Stefan Csomor
318fa6983d added .inited comparison as suggested by John McPherson to avoid comparison wxBlack to wxNullBitmap being true
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 09:02:54 +00:00
Stefan Csomor
fa15551ceb new static structure for using the correct resource file (needed for shared lib)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-20 16:14:11 +00:00
Stefan Csomor
dde587d9bd export statement needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-20 16:13:05 +00:00
Stefan Csomor
ac398c14e9 preparation for separated menu items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-20 16:12:22 +00:00
Stefan Csomor
9e336cc243 changed the usage of the member vars to be more consistent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-20 16:11:37 +00:00
Stefan Csomor
d1a8631363 added new constructor for wxpython
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-20 16:10:45 +00:00
Vadim Zeitlin
4116c22156 Capture/ReleaseMouse() prefixed with Do for the other ports (OS/2, MGL, Motif, Mac)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-19 19:38:46 +00:00
Vadim Zeitlin
cc0e848087 IFF support off by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-18 16:44:12 +00:00
Robert Roebling
4b6b4dfcf4 Added IFF handler.
Minor doc updates.
  Corrected configure for SGI OpenGL (wx-config related).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-15 17:57:08 +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
Gilles Depeyrot
912aaab35c added missing const for Apple DevTools
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-11 16:13:56 +00:00
Robert Roebling
60ec3e58b8 Move notebook size code for mac to mac/notebook.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-11 14:34:38 +00:00
Stefan Csomor
5921f83f73 fewer standard includes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-11 14:01:42 +00:00
Stefan Csomor
477594f737 ATSU Rendering Support added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-11 13:27:19 +00:00
Gilles Depeyrot
a3d3d3bf6c unified UMAPrOpen/UMAPrClose prototypes for session and non-session printing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-10 21:31:35 +00:00
Gilles Depeyrot
f2b6a31a9e removing dependancy on mac headers from public wx headers (eventually adding wx/
mac/private and typecasts)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-06 15:54:13 +00:00
Gilles Depeyrot
bcaba9a036 unified Carbon/Classic and Session/Port printing member name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-06 15:43:29 +00:00
Gilles Depeyrot
fa9d617ba4 moved TARGET_CARBON define to private include for MacOS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-06 15:42:13 +00:00
Stefan Csomor
0e5a4d2032 added method for finding out, whether the macos system is fully initialized for this app (e.g. it is not during static initialization)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-05 16:36:46 +00:00
Gilles Depeyrot
26e83d4ff1 added missing include file for Apple DevTools
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-04 21:52:39 +00:00
Stefan Csomor
5273bf2fd3 removing dependancy on mac headers from public wx headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-04 17:13:39 +00:00
Stefan Csomor
78c0e83b30 added detection of aqua layout scheme
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-01 09:54:17 +00:00
Gilles Depeyrot
a174f139e1 wxSystemSettings class API face lift: better names for its methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-31 21:09:47 +00:00
Gilles Depeyrot
69d06d69ad added wxUSE_PROTOCOL/wxUSE_URL defines
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-31 19:25:02 +00:00
Stefan Csomor
af6e3af656 d&d implementation and checklistbox enabled
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-31 16:49:59 +00:00
Stefan Csomor
8400ad1ed6 drag & drop implemented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-31 16:31:23 +00:00
Stefan Csomor
f5705626fe checklist implemented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-31 16:30:54 +00:00
Stefan Csomor
249128027a getting rid of several graf port handling routines
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-30 09:44:31 +00:00
Stefan Csomor
246c920686 added theme savvy store/restore grafport
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-30 09:43:15 +00:00
Stefan Csomor
5b36f53bd1 corrections for theme brush alignments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-29 09:57:11 +00:00
Stefan Csomor
bb356c9ea7 removed redundant code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-28 19:16:05 +00:00
Stefan Csomor
755d980deb code changes for redrawing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-28 19:14:01 +00:00
Stefan Csomor
dc8f5bd687 added support for appearance brushes, corrected blitting origin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-28 19:13:16 +00:00
Stefan Csomor
0ff8e4b5c9 added support for appearance brushes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-28 19:12:34 +00:00
Robert Roebling
a7b51bc869 Removed warning for Darwin compilation from datetime.inl
Added wxFileName::SetPath() and set m_relative if no dir is given
  Corrected wxFrame::Enable() in wxMac.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-23 15:52:29 +00:00
Ron Lee
59bd4c3881 Added missing compile define.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-23 02:01:45 +00:00
Stefan Csomor
1c469f7f4e MacOS conforming activate/deactivate
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-20 07:50:22 +00:00
Stefan Csomor
88594d02eb toplevel code transferred to wxTopLevelWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-19 21:35:08 +00:00
Stefan Csomor
efaf6efce2 added UMAHideControl again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-19 21:33:33 +00:00
Stefan Csomor
6ed63f8bbc moved all code concerning toplevel code from the window file to toplevel
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-19 21:32:27 +00:00
Stefan Csomor
ae9283da23 added SetStatusText method for proper drawing, because dc.Clear is not yet using themes properly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-19 21:30:54 +00:00