Commit Graph

226 Commits

Author SHA1 Message Date
Stefan Csomor
72ddb593f1 factored out key handling for better integrating with carbon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-21 16:01:18 +00:00
Gilles Depeyrot
6d6da89ccb applied SourceForge patch # 544164 (hidden virtual method in wxMenuBar)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-05 20:00:47 +00:00
Vadim Zeitlin
6b0d8a01d1 added default parameter values to the overloaded Show() and Enable() versions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-04 18:09:20 +00:00
Vadim Zeitlin
3c67451472 added consts to wxAcceleratorTable ctors from wxAcceleratorEntry array
(repaces patch 561183)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-28 16:51:14 +00:00
Robin Dunn
bb751cf906 Fixed wxMac's wxStaticText::SetFont to behave like the others and
resize the control to fit the text


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-27 21:21:49 +00:00
Stefan Csomor
b821344e13 added accessors for last focus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-26 07:49:32 +00:00
Robert Roebling
72763bfed4 Redirect SetFocus Part II.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-23 17:57:47 +00:00
Stefan Csomor
6fda4e7a68 added hide/show
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-21 20:35:18 +00:00
Stefan Csomor
559ae136c4 carbon event handlers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-20 20:34:05 +00:00
Stefan Csomor
3342663931 Carbon-Standard conversion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-20 20:33:13 +00:00
Stefan Csomor
fdc8ef9485 Dan 'Bud' Keith's Implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-20 20:32:28 +00:00
Stefan Csomor
6c28ba0c66 OnInit for adding carbon event handlers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-20 20:31:25 +00:00
Julian Smart
baaae89f09 Updated font dialog constructors to use a reference to the font data
as per more recent convention


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-18 11:05:58 +00:00
Stefan Csomor
35f6182b39 added GetApplicationScript for non Carbon builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-17 12:08:30 +00:00
Julian Smart
f8169ce715 Added missing const for operator !=
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-15 13:13:17 +00:00
Gilles Depeyrot
6dcbb6d0d9 applied copy constructor fix to assignment operator as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-15 06:22:01 +00:00
Stefan Csomor
8a2c82c1eb exposed background theme
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-11 06:39:49 +00:00
Stefan Csomor
e4befcd344 DrawParagraph changed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-11 06:39:24 +00:00
Stefan Csomor
f816930c05 common value change method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-11 06:38:53 +00:00
Stefan Csomor
5fcf715b5e added keyboard focus & typein
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-11 06:38:31 +00:00
Stefan Csomor
8481948ef1 added rtti to tooltip, mlte implementation to textctrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-08 22:50:09 +00:00
Gilles Depeyrot
ba161d7e95 corrected warnings when compiling with -Wall -W
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-08 14:17:22 +00:00
Gilles Depeyrot
f2af4afb82 corrected warnings when compiling with -Wall -W
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-08 14:00:23 +00:00
Gilles Depeyrot
be52b34172 added DECLARE_NO_COPY_CLASS where appropriate since wxObject should not
provide implicit copy constructor or assignement (will be corrected)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-08 13:30:26 +00:00
Gilles Depeyrot
e7600a2cab corrected warnings when compiling with -Wall -W
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-08 13:24:00 +00:00
Gilles Depeyrot
d84afea9d1 corrected warnings when compiling with -Wall -W
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-07 21:58:27 +00:00
Vadim Zeitlin
6e8e9b6628 added wxCheckBox::IsChecked() to wxMac and documented it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-06 11:40:16 +00:00
Gilles Depeyrot
fbbdb7cd4c improved opening/closing of shared library resources so that Mach-O shared
library resources are opened in wxApp::Initialize and closed in wxApp::CleanUp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-05 16:09:21 +00:00
Vadim Zeitlin
e78d4a23c2 wxDirDialog now has the same ctor under all platforms and also uses the
correct default title string


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-04 12:38:51 +00:00
Gilles Depeyrot
7ee31b00ed corrected warnings when compiling with -Wall -W
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-03 19:41:22 +00:00
Vadim Zeitlin
2245b2b2c3 changed DoDragDrop(bool) into DoDragDrop(int) and added support for wxDrag_DefaultMove flag
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-28 14:30:54 +00:00
Gilles Depeyrot
d460ed4071 derive wxBitmapButton from wxBitmapButtonBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-28 09:35:19 +00:00
Julian Smart
387ebd3eb7 Added wxDF_HTML
Added VC++/non-Unicode for setting HTML clipboard data
Changed FloodFill to return a bool value


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-17 11:48:11 +00:00
Stefan Csomor
50b30d837b added patch for theme savvy checkbox metrics
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-16 21:04:38 +00:00
Stefan Csomor
412633c4a5 RemoveChild added for correct disposal of scrollbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-11 16:07:09 +00:00
Gilles Depeyrot
c8b751aa27 removed unnecessarily overridden wxControl method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-07 18:21:52 +00:00
Gilles Depeyrot
a1260bfc7d removed unused enum
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-07 13:26:58 +00:00
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