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
Robin Dunn
d18c7c6dfc
Re-enable clipboard and DnD classes for wxMac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-15 05:05:48 +00:00
Robin Dunn
0af45411b9
demo updates
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-15 05:05:02 +00:00
Julian Smart
d665f50b8c
In an expose event, the m_clearRegion is also updated as well
...
as m_updateRegion because otherwise in a scroll or resize,
a custom OnEraseBackground method will draw over more window than
OnPaint will redraw -- clearly not what's wanted.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-14 20:38:22 +00:00
Vadim Zeitlin
63ec9dbbac
don't send SPLITTER_POS_CHANGED events when the splitter position was changed from the program itself
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-14 18:10:04 +00:00
Václav Slavík
936b18ac29
no, DO NOT use wxMessageBox where wxLogError is more suitable
...
(and don't display Information icon when reporting an *error* (sigh...))
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-14 17:58:54 +00:00
Julian Smart
2012e3ea0f
Fixed double deletion in region iterator
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-14 15:49:35 +00:00
Robin Dunn
0f713d485b
Fixed a lost #else
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-14 14:37:33 +00:00
Julian Smart
946fb2b9dd
Initialized control member pointers and checked for null pointer
...
to make controls sample run on MacOS X again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-14 14:05:12 +00:00
Julian Smart
6688f23d63
Now shows author correctly under MacOS X
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-14 13:53:48 +00:00
Vadim Zeitlin
2e08b1a367
added missing extern "C" required for Sun CC
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-14 12:28:07 +00:00
Vadim Zeitlin
5f4bffab21
renamed main to mymain to suppress the warnings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-14 11:33:24 +00:00
Vadim Zeitlin
7413788a82
fixed a warning
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-14 11:28:26 +00:00
Julian Smart
59b9edf0b3
Initialized the controls on the widgets spinbutton page
...
and checked for NULL in one of the event handlers, since
on the Mac the event handler may be called before the
control is properly initialized
Tested for an empty string in Mac's textctrl.cpp
else we get a crash if there is nothing in the text control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-14 11:28:13 +00:00
Vadim Zeitlin
44a5856d5e
wanted to fix zlib include path but it turned out to be already ok so I just added a comment saying why should it be left like this
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-14 11:09:53 +00:00
Robin Dunn
26eb87155b
swigged updates for wxMac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-14 07:50:21 +00:00
Robin Dunn
1a65218cc9
Fixing nested triple quotes again
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-14 07:49:32 +00:00
Robin Dunn
606d919c51
Use the stdout/stderr window by default on Mac too. Force it on in
...
the demo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-14 07:49:05 +00:00
Robin Dunn
4b6f211eba
Minor updates to build scripts
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-14 07:47:40 +00:00
Robin Dunn
81b32ce522
wxSTC begins to work on wxMac...
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-14 07:44:33 +00:00
Robin Dunn
25e92d2d64
If'd out the listbox on wxPopupWindow test for now
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-14 00:06:37 +00:00
Vadim Zeitlin
2bd25c5a40
documented wxFileName::SplitPath(), added more obsolescence notes about the functions superseded by wxFileName
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-13 23:50:39 +00:00
Vadim Zeitlin
1f1070e2ed
cleared the wxFileNameFromPath mess
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-13 23:49:32 +00:00
Robin Dunn
0c5b83b0fa
Added some inline helpers so the dependence on wxUSE_UNICODE and
...
wxUSE_WCHAR_T can be localized instead of having #if's all over the
place.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-13 23:31:02 +00:00
Robin Dunn
267484bc4f
The use of wxPopupWindow fo rhte autocomplete and calltip windows is
...
now a little better integrated.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-13 20:33:54 +00:00
David Webster
63ebec23f2
Popup Window now supported in OS/2 (for tipwindows and such associated with toolbars).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-13 18:11:52 +00:00
David Webster
430974f8c4
Weekly catch up.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-13 18:10:59 +00:00
David Webster
950630818b
WXPM now uses popupwindows.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-13 18:09:46 +00:00
Julian Smart
4855a4773e
textctrl.cpp: Removed assert from CanRedo/CanUndo since the best behaviour is
...
to return FALSE (Redo/Undo functions are unimplemented)
treectrlg.cpp: in InsertItem, allow previous item to be null in order
to insert at first position of possibly-empty child list
dcclient.cpp: allow setting of null font (common espec. on Windows)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-13 16:54:32 +00:00
David Webster
b0091f58f8
Compiler bug
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-13 15:49:41 +00:00
Julian Smart
47366662de
Eliminated a couple of warnings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-13 10:11:13 +00:00
Gilles Depeyrot
a1ea505561
use built-in wcslen instead of disabling wide character support for Darwin
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-13 05:41:51 +00:00
Vadim Zeitlin
62f17a1864
fixed bug with using wrong interval (-1) when restarting a running timer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-12 22:46:12 +00:00
Vadim Zeitlin
3fde374f3f
fixes to wxFontDialog after recent changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-12 22:26:01 +00:00
Vadim Zeitlin
dbc65e2760
fixed wxFontDialog API: accept const ref instead of (well, in addition to) a possibly NULL pointer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-12 19:35:33 +00:00
Julian Smart
c42a918295
Added overloaded AddChild from contributor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-12 18:43:46 +00:00
Julian Smart
449d48f9e1
Fixed mouse handling for captured windows
...
Didn't need most of the cshelp fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-12 16:08:47 +00:00
Julian Smart
5f9ab82db2
Don't use context id for context help since it doesn't seem to be working at present
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-12 12:47:54 +00:00
Julian Smart
b8b9d8a790
Added recursive event handler pushing to fix context help problem.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-12 12:46:34 +00:00
Julian Smart
30acf700f9
Added missing brace in checkbox.tex
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-12 11:34:19 +00:00
Vadim Zeitlin
0146a47e4d
added the test for GtkText inside wxYield crash
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-12 11:28:31 +00:00
Vadim Zeitlin
1c35b54e2d
fixed crashes in GtkText when it was refreshed from inside wxYield
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-12 11:26:06 +00:00
Vadim Zeitlin
1ee339eecb
made wxIsInsideYield global -- will be fixed when we have some better way to test if we're inside wxYield() from wxApp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-12 11:25:39 +00:00
Julian Smart
de8a0ed32a
Added deprecated property classes for future reference (maybe separate manual)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-12 11:10:24 +00:00
Gilles Depeyrot
0779cc9a66
use tm_gmtoff instead of timezone variable if tm struct member exists
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-12 09:17:04 +00:00
Gilles Depeyrot
62cc730f58
no timezone variable is only a warning instead of an error (use tm_gmtoff
...
instead, in particular for Darwin / Mac OS X)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-12 08:49:36 +00:00
Gilles Depeyrot
50947acc3b
corrected wxFontData assignement operator (was recursive!)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-12 07:48:53 +00:00
Robin Dunn
12d1116bee
swigged updates for wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-12 04:16:47 +00:00
Robin Dunn
0b85cc38e2
various tweaks and updates
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-12 03:20:42 +00:00
Vadim Zeitlin
d78f09e27d
added a comment about the default button handling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-11 23:40:38 +00:00