Commit Graph

2624 Commits

Author SHA1 Message Date
Julian Smart
cb2713bfa8 Added wxYieldIfNeeded
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-22 12:09:06 +00:00
Vadim Zeitlin
83a5b533e2 made wxApp::GetTopWindow() virtual
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-20 13:39:50 +00:00
Robin Dunn
486fd225d4 Added a SetFont method that behaves like SetLabel does with respect to
wxST_NO_AUTORESIZE.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-20 06:10:38 +00:00
Vadim Zeitlin
8b766d97fd applied patch 103798 (yy... defines moved from expr.h, wxexpr.h to wxexpr.cpp)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-16 18:36:17 +00:00
Gilles Depeyrot
03e11df547 modifications for compilation under Mac OS X
applied patches extracted from submission by Marc Newsam (tested under Mac OS 9)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-15 21:51:14 +00:00
Vadim Zeitlin
15ba5c2731 wxADJUST_MIN definition (forgot to ci last time)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-14 18:13:23 +00:00
Vadim Zeitlin
f41cb81efc fixed bug in wxCalendarCtrl (132199) and bug in wxDateTime::IsSameDate() this fix discovered
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-13 17:55:26 +00:00
George Tasker
b742792c08 Beginnings of BLOB support - Do not use BLOBs yet though, as they do not work, but these changes will not affect behavor of anything unless you try to create a BLOB column 0 which will fail right now.
Formatting of source code cleaned up.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-13 11:42:35 +00:00
Stefan Csomor
5b781a6729 updated mac sources (CW 5.3 working , CW6 still having code gen problems)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-08 21:13:12 +00:00
Vadim Zeitlin
1db8dc4a2b applied (slightly modified) wxToggleButton patch from John Norris and Axel Schlueter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-08 18:57:23 +00:00
Vadim Zeitlin
bb84929ec5 some stupid attempts to make utf8 work - it doesn't, but the code does no harm and could be useful in the future
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-08 18:11:36 +00:00
Vadim Zeitlin
cce442ba7c (blind) fixes for Motif compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-08 15:54:51 +00:00
Ron Lee
b64f0a5fc7 More mostly cross compiling related mods..
Get configure to bring in the necessary libs and object files if
the compiler can handle ole.
Added --enable-metafile option, defaults to yes but again only used
if ole is supported.
Fixed the last of the #ifdef wxUSE_NORLANDER.. tests to check if its
non-zero (it's always defined)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-08 11:19:25 +00:00
Julian Smart
1ddfb726b2 Updated VC++ project files for making DLL-based samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-06 17:50:06 +00:00
Julian Smart
32956769e9 Fixed sashwin events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-06 15:03:46 +00:00
Julian Smart
7a5e62674f Fixed some warnings (don't know why dialoged Makefile is being committed)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-06 14:23:44 +00:00
George Tasker
da99271dcb ::Initialize() methods added to the helper classes
Changed wxT("") to wxEmptyString everywhere


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-05 13:36:33 +00:00
George Tasker
6a71ee861c One more wxString change that I originally missed
A few more Unicode changes I missed
Made one more param in the wxDb constructor be a const (like it should have been).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-04 15:56:59 +00:00
George Tasker
e7e5298cca Commenting and text formatting cleanup. No source changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-04 15:55:15 +00:00
George Tasker
5cf34cf07e wxDbConnectInf is now converted to a class. Fully backward compatible with all version except the last checkin I did (changed datatypes back to what they were before for in this class). Class now has all accessors and member functions. Functions added to remove need for calling SQLAllocEnv() and SQLFreeEnv().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-03 17:50:45 +00:00
Vadim Zeitlin
28a156b14c fixed previous commit (no changes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-03 14:53:12 +00:00
Vadim Zeitlin
0cbe5ee3a9 applied patch 103575 (more efficient wxString comparison)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-03 13:42:47 +00:00
George Tasker
4fdae9972d All char, char *, and char arrays changed to use wxChar or wxString. 99% backward compatability maintained
Cleaned up code to remove duplicate blocks from multiple functions
Added better handling of failed creation of wxDbTable/wxDb objects
Moved code out of class constructors to a private function called from within the constructor
Moved destructor code to a cleanup() function so it could be called from within the constructor if the constructor failed.
Added wxDb::ModifyColumn() function.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-01 20:21:52 +00:00
Vadim Zeitlin
85664da6de added missing WXDLLEXPORT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-01 16:12:21 +00:00
Vadim Zeitlin
0c6b0c6668 Removed obsolete files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-31 22:46:29 +00:00
Vadim Zeitlin
4161828546 and another...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-31 17:31:15 +00:00
Vadim Zeitlin
71b9ed15f5 argh... yet another compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-31 17:25:56 +00:00
Vadim Zeitlin
0c85071392 another compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-31 17:21:59 +00:00
Vadim Zeitlin
71499aafed oops... fixed a typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-31 17:19:06 +00:00
Vadim Zeitlin
2e4df4bfaf 1. made compilation with WXWIN_COMPATIBILITY_EVENT_TYPES really work
2. moved ~50% of the event types in their own headers/sources from event.h/cpp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-31 17:16:40 +00:00
Vadim Zeitlin
6164f93ca2 event handling seems to work again, new sample (event) added and documented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-31 16:00:00 +00:00
David Webster
d8fcb5e835 Add a Get and Set for an OS/2 PS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-31 05:32:23 +00:00
Gilles Depeyrot
c0cd186f82 changed argument types (replaced long with wxCoord)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-30 21:26:23 +00:00
Gilles Depeyrot
36195a44c3 added test for __MACH__ for Mac OS X compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-30 21:06:57 +00:00
Gilles Depeyrot
f58f51637f added missing return type (implicit int no longer accepted by compilers)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-30 21:02:45 +00:00
Gilles Depeyrot
3c4f84521e added tests for __MACH__ to compile under Mac OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-30 21:00:18 +00:00
David Webster
437a79a631 XPM updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-30 06:06:22 +00:00
David Webster
020a1653a4 Add wxInvertMask for OS/2 xpm processing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-29 21:42:53 +00:00
David Webster
8bb6da4ae6 Bitmap and icon updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-29 05:46:06 +00:00
David Webster
403603f74f OS/2 patch about a #pragma warning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-28 15:34:19 +00:00
Vadim Zeitlin
83a136ac4a extended RemoveLast() to take size_t parameter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-28 02:14:00 +00:00
Vadim Zeitlin
3794e8d6b0 readded wxEVT_HELP inadvertently deleted the last time
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-27 23:00:10 +00:00
Vadim Zeitlin
cbee8f8dc7 compatibility changes: WXWIN_COMPATIBILITY_EVENT_TYPES and DECLARE_EVENT_TABLE_ENTRY added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-27 20:16:02 +00:00
Vadim Zeitlin
6a5391afa9 fix for DoPut() from long time ago
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-27 12:40:57 +00:00
Vadim Zeitlin
96f6c703b1 wxEVT_USER_FIRST readded
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-27 12:38:09 +00:00
Vadim Zeitlin
b7245f129a compilation fix for recent event changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-26 22:26:45 +00:00
Gilles Depeyrot
6113a16ab3 corrected comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-26 20:16:12 +00:00
Vadim Zeitlin
0b5eceb638 dynamic event types actually work with these changes, also corrected more
event macro in the sources


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-26 18:58:14 +00:00
Robert Roebling
258e5c7427 Corrected typo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-26 18:35:23 +00:00
Robert Roebling
82a5f02c86 Updated ten thousand macros for new event type code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-26 17:35:36 +00:00