Commit Graph

268 Commits

Author SHA1 Message Date
Robin Dunn
28b9bd356d Forgot to remove the "virtual" for binary compatibility...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-29 19:17:46 +00:00
Robin Dunn
8c879ff9c5 Added wxTLW::SetShape and implementations for wxGTK, wxMSW and an
empty stub for wxMac.
Added some generic helpers and a new ctor to wxRegion.
Added samples/shaped.
(Backport to 2.4 from 2.5)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-29 19:03:04 +00:00
Stefan Csomor
5872b92e95 cursor support for xpm and d&d integration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-04 12:04:55 +00:00
Stefan Csomor
531a2584c6 pict setter added for clipboard support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-02 13:18:21 +00:00
Stefan Csomor
080fc15766 factoring out common carbon/non-carbon clipboard support code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-02 13:17:08 +00:00
Ron Lee
ad99843335 Added wxTreeCtrl::GetItemParent to deprecate GetParent.
Moved GetParent into WX_COMPAT_2_2 and exposed base GetParent in
that case too.

Replaced all lib/sample uses of wxTC::GetParent with GetItemParent.

Updated docs to suit.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-29 07:48:21 +00:00
Stefan Csomor
8979386806 added m_invokingWindow to wxMenuBar on wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-20 14:09:39 +00:00
Robin Dunn
3d9d488655 Added missing #if wxUSE_WAVE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-17 21:26:21 +00:00
Julian Smart
5b6a40fb0e Moved wxUSE_CMDLINE_PARSER to more sensible place
Added it to wxMac's setup0.h
Removed semicolon from HASHMAP decl


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-02 11:42:23 +00:00
Stefan Csomor
1354418055 menu handling added (gtk-way)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-17 00:11:13 +00:00
Stefan Csomor
414ea21e24 menu handling added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-17 00:03:23 +00:00
Gilles Depeyrot
1c8be62219 added wxUSE_PROLOGIO and changed default value of wxUSE_WX_RESOURCES
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-06 21:49:36 +00:00
Stefan Csomor
56e770d6b7 added export attribute for classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-03 09:32:52 +00:00
Stefan Csomor
0c59640539 adjusted to other platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-03 09:21:07 +00:00
Stefan Csomor
ebfb098877 corrected class export
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-03 09:18:16 +00:00
Stefan Csomor
97138ef264 added system version getter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-22 15:38:17 +00:00
Stefan Csomor
30438673e3 notebook images support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-18 17:22:44 +00:00
Stefan Csomor
4df9aff134 added new command ids
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-21 20:52:34 +00:00
Stefan Csomor
8ffb0bb9f0 added forcing for bitmap types
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-21 20:51:00 +00:00
Stefan Csomor
bf99a7849d made MacSetupCursor virtual in order to allow wxTextCtrl to use MLTE native cursor handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-17 14:27:56 +00:00
Gilles Depeyrot
1bfec677b1 avoid warning for duplicate defined wxEntry when compiling with the Apple
Developer Tools (already defined in common include)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 19:17:52 +00:00
Gilles Depeyrot
57530dba85 use "..." for wx includes instead of <...>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 19:16:32 +00:00
Gilles Depeyrot
a811affe70 added wxSpinCtrl::SetSelection method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-01 21:29:40 +00:00
Gilles Depeyrot
af49c4b8a2 disable use of #pragma interface under Mac OS X
GNU compiler included with Mac OS X 10.2 (Jaguar) as well as August Developer
Tools update contain a bug concerning #pragma interface handling that can only
be worked around by not using them (and they are not necessary anyways)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-31 11:29:13 +00:00
Stefan Csomor
93e5d8999f added forcing to image conversion to always attempt a color icon (needed eg for menus)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 21:02:39 +00:00
Stefan Csomor
2072fbbbc9 added new default handlers for open/print events, removing the need for using private headers in the specific application
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 22:04:04 +00:00
Stefan Csomor
17e504023d I think this is now defined in the common accel.h, I'll remove it if no build complains...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-21 16:08:29 +00:00
Julian Smart
c9b3918ae4 OpenGL off by default on Mac, correct scripts to
copy setup0.h


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 18:38:05 +00:00
Stefan Csomor
8095ef23e7 attempt to bring event system in synch with MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-14 18:41:12 +00:00
Stefan Csomor
41d368a4bb separated modifier keys handling in order to distinct key/up down events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-14 17:09:20 +00:00
Stefan Csomor
7e2eb7107d added new method MacSetupCursor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-13 12:17:56 +00:00
Stefan Csomor
08a88c3368 added control action for redraws (classic only)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-10 09:37:02 +00:00
Stefan Csomor
e671beca24 added clipping code for controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-10 09:36:09 +00:00
Stefan Csomor
d835f05e11 added option for getting visible region w/o children clipped
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-03 21:03:41 +00:00
Stefan Csomor
10a3fc075c added a MacUpdateDimensions callback for DoMoveWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-02 15:41:06 +00:00
Stefan Csomor
0034fe6d67 separate mac implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-02 15:36:12 +00:00
Stefan Csomor
c05a5f07d3 added a MacUpdateDimensions callback for DoMoveWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-02 15:33:47 +00:00
Julian Smart
90a1a975d4 Applied patch [ 588734 ] Makes ProcessIdle() virtual
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-01 19:54:55 +00:00
Stefan Csomor
f8d5f1e2b4 removed virtual modifier from Command handlers, added readonly and color information to textctrls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-25 08:42:04 +00:00
Stefan Csomor
b12e1d2fcd added Mark Newsam's patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-20 13:10:06 +00:00
Julian Smart
a536e41102 Applied patch [ 573644 ] wxDisplay for Mac (again)
Applied patch [ 573172 ] Implements wxDisplay for mac
Applied patch [ 573356 ] wxDisplay for MSW

Alterations:
Put sample in regular samples, not contrib
Removed multimon.h for copyright reasons


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-19 20:42:34 +00:00
Gilles Depeyrot
4b651a4675 rename method to prevent collision with some BSD definitions of macro Free()
(detected compiling mahogany)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-29 16:25:18 +00:00
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