Stefan Csomor
314bbbacb3
because some sash code draws whether the window is visible or not, the easiest thing is to make the MacGetVisibleRegion return an empty region for this case, so the wxDC is always entirely clipped
...
added wxStaticBox fix for panther
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@25711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-10 17:31:38 +00:00
Václav Slavík
f530896a7a
htmlproc.h wasn't installed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@25080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-07 14:53:37 +00:00
Gilles Depeyrot
6b6a2263ec
applied SF patch #817328 to correct PMRelease calls
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@24401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-03 22:22:39 +00:00
Gilles Depeyrot
be4cc9317b
added conditional compilation for IntToFixed/FixedToInt for Mac OS X 10.3
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@24387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-01 18:27:25 +00:00
Stefan Csomor
c1cdbd128c
clip region fix backported for fast port setter
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-18 11:35:32 +00:00
Stefan Csomor
857a68a6a8
masking out yes/no/cancel flags before creating top level window (backport from HEAD)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-29 07:46:29 +00:00
Stefan Csomor
3a0bd3d5cd
-1 , -1 for SetSelection improved
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-28 14:49:11 +00:00
Stefan Csomor
e7cbbff330
two fixes from Justin Bradford
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-10 14:20:03 +00:00
Gilles Depeyrot
90a6046ab2
backported minor corrections for compilation with gcc 3.3 (use cast of address i
...
nstead of address of cast)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-07 20:13:16 +00:00
Gilles Depeyrot
296252dcf5
backported minor corrections for compilation with gcc 3.3 (use cast of address instead of address of cast)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-07 20:11:26 +00:00
David Elliott
24a62af3f8
Added call to SetValidator
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-30 14:27:42 +00:00
Stefan Csomor
f4841924a0
resetting clipping region (needed because of faster port setting)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-27 19:48:11 +00:00
Gilles Depeyrot
5de3edd09e
corrected return value of wxTimer::Start when timer is successfully created
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-20 20:48:17 +00:00
Robin Dunn
ca01f8dfe5
revert my last change
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-07 15:54:41 +00:00
Robin Dunn
27f4f38e85
fix so wxMenu::InsertItem actually inserts rather than overwrites
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-06 23:46:36 +00:00
Robin Dunn
6844c083a1
Just silently return NULL like the other ports
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-06 23:15:50 +00:00
Robin Dunn
79f3f7cdb2
fix a precedence order problem
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-29 20:30:54 +00:00
Stefan Csomor
d42aedcaca
GetEventHandler()-> was missing
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-29 19:02:04 +00:00
Gilles Depeyrot
4f26bc4784
allow wxDisplaySize to be called with NULL parameters
...
implement GetMetric for wxSYS_SCREEN_X & wxSYS_SCREEN_X using wxDisplaySize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-28 20:08:24 +00:00
Stefan Csomor
d99e873817
experimental speed up avoiding style copying and restoring
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-23 18:35:01 +00:00
Stefan Csomor
d5c45cc949
speed up for string conversion
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-23 18:30:26 +00:00
Stefan Csomor
5416dbea9b
wxPrintData::ValidateOrCreate to keep common code for wxMac, used when ConvertToNative is called, not needed here anymore
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-22 21:18:00 +00:00
Stefan Csomor
15682dd0cd
turning off a wxSTAY_ON_TOP patch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-22 18:12:57 +00:00
Robin Dunn
cc715ad02b
Fix page positioning when the tabs are on a side different than
...
wxNB_TOP by choosing margins dynamically instead of always using fixed
margin sizes. Also remove unnecessary large internal borders
(although they can be reactivated by flipping an #if.)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-21 22:41:01 +00:00
Stefan Csomor
f0f3ef30ba
redraw fix backported
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-12 19:56:37 +00:00
Stefan Csomor
855ff63b6a
better min size
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-12 19:25:48 +00:00
Stefan Csomor
3e4c97edf2
void correction
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-12 19:18:28 +00:00
Stefan Csomor
4182609042
native help tool tips under Carbon and OSX, backport
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-12 19:14:44 +00:00
Stefan Csomor
30d61191be
added CFStringRef methods
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-12 19:11:16 +00:00
Robin Dunn
cdc77b67db
Added #if TARGET_CARBON around shaped window stuff
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 21:29:39 +00:00
Julian Smart
e71d7ac230
Setting state to STATE_NEW in wxThread::Create
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-04 20:51:09 +00:00
Robin Dunn
a16bcfcef2
Shaped window support for wxMac, plus a wxSTAY_ON_TOP fix from Egon
...
<e_lub@yahoo.com > wxMac requires knowledge before Create that SetShape
will be called so I also added the wxFRAME_SHAPED style flag.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-30 00:39:15 +00:00
Stefan Csomor
3728b81a27
backpatch for activate error
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-26 20:32:05 +00:00
Stefan Csomor
146afc4d24
moving rollover check, was causing hangs upon termination in case ->top was 0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-26 20:26:13 +00:00
Robin Dunn
376b7bd99e
wxCHECK for valid menu in DoPopupMenu (SF Bug# 722230)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-23 21:11:32 +00:00
Robin Dunn
4a1a1d848d
Ensure that submenus are also added to the system when their parent
...
menu is used in a wxMenuBar::Repalce call.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-17 20:06:17 +00:00
Robin Dunn
cf83df6d61
Backported the controls on a toolbar fix for wxMac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-16 21:05:53 +00:00
David Elliott
9d5aa5d876
When saving the editable state, use the real state (m_editable)
...
Same change as 1.53 -> 1.54
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-14 18:51:54 +00:00
Julian Smart
fad7abc046
Test for result of searching for wxID_CANCEL button
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-13 22:56:09 +00:00
Julian Smart
824d857df1
Set wxPendingEvents to NULL after deletion
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-13 22:54:32 +00:00
Robin Dunn
d00fe0d422
Fixed wxMac's wxTextCtrl::SetSelection so that (-1,-1) will select the
...
entire value like other ports do.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-11 22:38:56 +00:00
Stefan Csomor
5c80bed5e7
cleanup and classic fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-11 17:45:06 +00:00
Robin Dunn
62e3042f36
Backported fix allowing for wxMac popup menus to have submenus
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-11 17:10:57 +00:00
David Elliott
9487b29313
Fix from HEAD 1.87 -> 1.88
...
After delete wxPendingEventsLocker; wxPendingEventsLocker = NULL; so that
the wxEvent code doesn't try to use it while cleaning up.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-07 18:08:58 +00:00
Julian Smart
466a7a71c7
Implement wxExecute with proper callback on Mac OS X
...
Backported from head
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 16:47:48 +00:00
Robin Dunn
0cc89f950e
Fix menu event propogation to be consistent across platforms, and with
...
the docs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-03 18:40: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
c1e39ae9b3
moved fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-11 20:00:58 +00:00
Stefan Csomor
720d270f0e
border corrections for Aqua
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-09 17:58:56 +00:00
Stefan Csomor
d659a731e3
warning fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-04 13:37:51 +00:00