Commit Graph

28130 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
Vadim Zeitlin
a6e67b552c don't treat Enter always as Tab, just for the text controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-11 23:34:36 +00:00
Vadim Zeitlin
036da5e374 changed the handling of the default buttons to be more logical
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-11 22:31:05 +00:00
Gilles Depeyrot
7c720ce633 added wxControlWithItems constructor/destructor (for Darwin)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-11 17:14:46 +00:00
Vadim Zeitlin
af850422ad fixed incorrect assert for the default compression level value
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-11 15:08:53 +00:00
Vadim Zeitlin
dd5cad7aee fixed the rule for compiling the RC files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-11 13:45:23 +00:00
Stefan Csomor
32907dbd80 appearance box drawing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-11 06:55:38 +00:00
Stefan Csomor
5a9819026e appearance fonts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-11 06:55:06 +00:00
Stefan Csomor
ecaf6c1897 key handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-11 06:54:50 +00:00
Stefan Csomor
e40865607c corrected background
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-11 06:54:36 +00:00
Stefan Csomor
a54b0880d6 common value changed code for spinbutton
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-11 06:53:56 +00:00
Stefan Csomor
7595f3811e fixed redrawing bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-11 06:53:27 +00:00
Stefan Csomor
402679b0f8 added carbon events for navigation keys, size corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-11 06:52:50 +00:00
Stefan Csomor
7eb67c0012 tooltip displaying correct background under OSX , antialiased system font used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-11 06:51:15 +00:00
Stefan Csomor
118f012e37 toplevel native window disposal in deferred delete clas
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-11 06:50:06 +00:00
Stefan Csomor
564bf1eab1 changed initialization of TXN in order to avoid crashes on OSX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-11 06:49:29 +00:00
Stefan Csomor
baf52e1ccd native window disposal is moved to deferred delete, size of parent taken into account for apply background
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-11 06:48:50 +00:00
Stefan Csomor
2d9d0118ea corrected appeaance of boxes und OSX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-11 06:45:42 +00:00
Stefan Csomor
99fd0d71f7 switched to appearance savvy gui/system fonts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-11 06:43:14 +00:00
Vadim Zeitlin
f5be30b7a1 fixes for BSD make
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-10 19:15:35 +00:00
Robin Dunn
5b3610dab2 Fixed a crash when GetMonthControl returns NULL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-10 18:41:57 +00:00
Vadim Zeitlin
ee1107cf73 fix compilation for the platforms which don't have RTLD_NOW/GLOBAL (like OpenBSD 3.0)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-10 18:28:16 +00:00
Vadim Zeitlin
e21a44de9f test for HAVE_FNMATCH, not HAVE_FNMATCH_H
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-10 16:56:11 +00:00
David Webster
ad6bd8701e Fix for upside down bmp projections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-10 04:09:27 +00:00
Vadim Zeitlin
2a77c8c455 don't put the windows created with y or height of -1 off screen
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-09 23:01:42 +00:00
Vadim Zeitlin
ba14d9861d applied patch to build wxMSW with CW7 (patch 550445)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-09 22:34:44 +00:00
Vadim Zeitlin
7cf46fdb3e fixed list item attributes when inserting/deleting items (patch 548391)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-09 22:21:15 +00:00
Vadim Zeitlin
9154d8cfff added/documented wxApp::FilterEvent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-09 17:21:02 +00:00
Vadim Zeitlin
c11d62a6e2 added (and documented) wxSafeShowMessage, use it in wxLogFatalError instead of wxMessageBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-09 15:59:42 +00:00
Vadim Zeitlin
e6e6fcc922 the build options are now checked in the application, not the library which allows to avoid having to define wxGetBuildOptions()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-09 15:58:29 +00:00