]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
23 years agofixed ID handling in 'unknown' handler
Václav Slavík [Tue, 22 May 2001 22:03:24 +0000 (22:03 +0000)] 
fixed ID handling in 'unknown' handler

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agoXMLCTRL() macro now uses wxDynamicCast in debug builds
Václav Slavík [Tue, 22 May 2001 22:02:53 +0000 (22:02 +0000)] 
XMLCTRL() macro now uses wxDynamicCast in debug builds
(should help in catching typo bugs when accessing XRC controls)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agoSome distribution tweaks
Robin Dunn [Tue, 22 May 2001 18:22:04 +0000 (18:22 +0000)] 
Some distribution tweaks

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agoFixed "make dist" so it doesn't try to copy some files that don't exist
Robin Dunn [Tue, 22 May 2001 17:57:05 +0000 (17:57 +0000)] 
Fixed "make dist" so it doesn't try to copy some files that don't exist

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agoFixes errno.h problems with OS/2
David Webster [Tue, 22 May 2001 17:25:57 +0000 (17:25 +0000)] 
Fixes errno.h problems with OS/2

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agoFixes errno.h problems
David Webster [Tue, 22 May 2001 17:25:39 +0000 (17:25 +0000)] 
Fixes errno.h problems

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agoFixes errno.h problems and enable joystick code
David Webster [Tue, 22 May 2001 17:25:21 +0000 (17:25 +0000)] 
Fixes errno.h problems and enable joystick code

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agoUpdated SWIG generated code for wxGTK version
Robin Dunn [Tue, 22 May 2001 16:58:26 +0000 (16:58 +0000)] 
Updated SWIG generated code for wxGTK version

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agoChanged IDs used for the popup menu
Robin Dunn [Tue, 22 May 2001 16:02:58 +0000 (16:02 +0000)] 
Changed IDs used for the popup menu

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agoCorrected recursive GetToolMargins()
Julian Smart [Tue, 22 May 2001 15:16:28 +0000 (15:16 +0000)] 
Corrected recursive GetToolMargins()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agowxCommandEvent::IsChecked() now returns the toolbar button checked status as well
Vadim Zeitlin [Tue, 22 May 2001 14:02:17 +0000 (14:02 +0000)] 
wxCommandEvent::IsChecked() now returns the toolbar button checked status as well

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agofix for discrepancies between wxNotebookEvent and wxNotebook GetSelection() results
Vadim Zeitlin [Tue, 22 May 2001 14:01:02 +0000 (14:01 +0000)] 
fix for discrepancies between wxNotebookEvent and wxNotebook GetSelection() results

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agoalways return a non NULL font from wxLoadFont
Vadim Zeitlin [Tue, 22 May 2001 13:26:01 +0000 (13:26 +0000)] 
always return a non NULL font from wxLoadFont

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agoReplaced typedef with #define for VC++ 1.5, to prevent 'no constructor' error
Julian Smart [Tue, 22 May 2001 10:56:54 +0000 (10:56 +0000)] 
Replaced typedef with #define for VC++ 1.5, to prevent 'no constructor' error

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agochanged version number
Robin Dunn [Tue, 22 May 2001 05:59:09 +0000 (05:59 +0000)] 
changed version number
A few final twaeks and fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agotried to fix the accel string drawing in the owner drawn menu items
Vadim Zeitlin [Mon, 21 May 2001 23:58:58 +0000 (23:58 +0000)] 
tried to fix the accel string drawing in the owner drawn menu items

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agofixed memory leak in colour parsing code
Vadim Zeitlin [Mon, 21 May 2001 23:22:26 +0000 (23:22 +0000)] 
fixed memory leak in colour parsing code

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agofix for releasing the HDC in WM_DRAWITEM handler
Vadim Zeitlin [Mon, 21 May 2001 23:10:31 +0000 (23:10 +0000)] 
fix for releasing the HDC in WM_DRAWITEM handler

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years ago(blind) fix for joystick compilation problems
Vadim Zeitlin [Mon, 21 May 2001 22:49:40 +0000 (22:49 +0000)] 
(blind) fix for joystick compilation problems

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agoVisualage fixes for Stefan's socket implementations, some scrolling fixes and dir...
David Webster [Mon, 21 May 2001 20:31:47 +0000 (20:31 +0000)] 
Visualage fixes for Stefan's socket implementations, some scrolling fixes and dir fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agoVisualage fixes for Stefan's socket implementations and true to TRUE in db.cpp
David Webster [Mon, 21 May 2001 20:30:24 +0000 (20:30 +0000)] 
Visualage fixes for Stefan's socket implementations and true to TRUE in db.cpp

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agoVisualage fixes for Stefan's socket implementations
David Webster [Mon, 21 May 2001 20:29:42 +0000 (20:29 +0000)] 
Visualage fixes for Stefan's socket implementations

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agoDefault wxDateTime objects are now 'invalid',
Ron Lee [Mon, 21 May 2001 19:03:33 +0000 (19:03 +0000)] 
Default wxDateTime objects are now 'invalid',
changed wxDefaultDateTime definition to suit.
Removed IsValid asserts from Set methods.
Fixed broken test for validity that was checking
m_time directly.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agoremoved extra newlines from wxLogDebugs
Vadim Zeitlin [Mon, 21 May 2001 10:31:21 +0000 (10:31 +0000)] 
removed extra newlines from wxLogDebugs

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agoFinal scrolling updates
David Webster [Mon, 21 May 2001 04:06:04 +0000 (04:06 +0000)] 
Final scrolling updates

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agofixed usage of LOWORD/HIWORD instead of GET_[XY]_LPARAM
Vadim Zeitlin [Mon, 21 May 2001 00:17:04 +0000 (00:17 +0000)] 
fixed usage of LOWORD/HIWORD instead of GET_[XY]_LPARAM

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agofixed wxComboBox sizing problem again
Vadim Zeitlin [Mon, 21 May 2001 00:16:35 +0000 (00:16 +0000)] 
fixed wxComboBox sizing problem again

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agoNew code for inserting unknown controls into resources
Václav Slavík [Sun, 20 May 2001 22:18:28 +0000 (22:18 +0000)] 
New code for inserting unknown controls into resources
via <object class='unknown'>. This one even works.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agoIncluded filefn.h for non-precompiled headers to
Stefan Neis [Sun, 20 May 2001 21:31:22 +0000 (21:31 +0000)] 
Included filefn.h for non-precompiled headers to
         get definition of wxFILE_SEP_PATH

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agoAdded dircmn.cpp to VC++ project files
Julian Smart [Sun, 20 May 2001 21:23:46 +0000 (21:23 +0000)] 
Added dircmn.cpp to VC++ project files

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agoAdded new files gsockpm.c and dircmn.cpp
Stefan Neis [Sun, 20 May 2001 20:47:20 +0000 (20:47 +0000)] 
Added new files gsockpm.c and dircmn.cpp

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agoAdded gsockpm.c for OS/2.
Stefan Neis [Sun, 20 May 2001 20:46:29 +0000 (20:46 +0000)] 
Added gsockpm.c for OS/2.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agoFixed some OS/2 specific problems: EMX defines __UNIX__, which is what good
Stefan Neis [Sun, 20 May 2001 16:16:27 +0000 (16:16 +0000)] 
Fixed some OS/2 specific problems: EMX defines __UNIX__, which is what good
        for wxGTK/wxMotif, but sometimes a problem for the PM version.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agoUpdated gsocket.c to current unix version, use gsockunx.h instead of gsockos2.h
Stefan Neis [Sun, 20 May 2001 13:25:28 +0000 (13:25 +0000)] 
Updated gsocket.c to current unix version, use gsockunx.h instead of gsockos2.h
Added gsockpm.c.
Hooked socket handling into main loop.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agofixed WX_APPEND_ARRAY and WX_CLEAR_ARRAY when used with dereferenced pointers (*array)
Václav Slavík [Sun, 20 May 2001 11:56:20 +0000 (11:56 +0000)] 
fixed WX_APPEND_ARRAY and WX_CLEAR_ARRAY when used with dereferenced pointers (*array)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agoVarious makefiles added. Only the VC and B32 makefiles have been tested
George Tasker [Sun, 20 May 2001 11:32:57 +0000 (11:32 +0000)] 
Various makefiles added.  Only the VC and B32 makefiles have been tested

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agoSome more tweaks
Robin Dunn [Sun, 20 May 2001 02:00:31 +0000 (02:00 +0000)] 
Some more tweaks

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agoSince there was no #include before the #if wxUSE_JOYSTICK then nothing
Robin Dunn [Sun, 20 May 2001 01:21:12 +0000 (01:21 +0000)] 
Since there was no #include before the #if wxUSE_JOYSTICK then nothing
would ever be compiled in this module.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agoAdded sample to the demo for wxJoystick
Robin Dunn [Sun, 20 May 2001 01:18:39 +0000 (01:18 +0000)] 
Added sample to the demo for wxJoystick

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agowarning fix
Vadim Zeitlin [Sat, 19 May 2001 23:36:50 +0000 (23:36 +0000)] 
warning fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years ago-fix for a bug in parsing tag's properties with common suffixes
Václav Slavík [Sat, 19 May 2001 18:00:28 +0000 (18:00 +0000)] 
-fix for a bug in parsing tag's properties with common suffixes
- some wxT() around char constants

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agoUnicode compilation fixes
Václav Slavík [Sat, 19 May 2001 17:59:51 +0000 (17:59 +0000)] 
Unicode compilation fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agouse wxTreeCtrl, not wxGenericTreeCtrl
Václav Slavík [Sat, 19 May 2001 11:57:32 +0000 (11:57 +0000)] 
use wxTreeCtrl, not wxGenericTreeCtrl

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agogenerated code for wxGTK for all the changes made earlier today
Robin Dunn [Sat, 19 May 2001 04:12:38 +0000 (04:12 +0000)] 
generated code for wxGTK for all the changes made earlier today

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agomerged wxRegConf rename fix from 2.2
Vadim Zeitlin [Sat, 19 May 2001 01:04:25 +0000 (01:04 +0000)] 
merged wxRegConf rename fix from 2.2

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years ago1. more proper fix for wxChoice/wxComboBox height problems than in 2,2 branch
Vadim Zeitlin [Sat, 19 May 2001 01:01:21 +0000 (01:01 +0000)] 
1. more proper fix for wxChoice/wxComboBox height problems than in 2,2 branch
2. wxIsspace() fix merged from the 2.2 branch

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agorenamed wxBase.dsp to wxBaseVC.dsp
Vadim Zeitlin [Sat, 19 May 2001 00:59:07 +0000 (00:59 +0000)] 
renamed wxBase.dsp to wxBaseVC.dsp

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agoadded wxDir::Traverse
Vadim Zeitlin [Sat, 19 May 2001 00:58:05 +0000 (00:58 +0000)] 
added wxDir::Traverse

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agowxDragImage fixes and cleanup
Robin Dunn [Fri, 18 May 2001 23:46:30 +0000 (23:46 +0000)] 
wxDragImage fixes and cleanup

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agoAdded mixins subpackage to wxPython.lib
Robin Dunn [Fri, 18 May 2001 22:26:19 +0000 (22:26 +0000)] 
Added mixins subpackage to wxPython.lib

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agofixed &agrave; parsing (here too)
Václav Slavík [Fri, 18 May 2001 22:13:30 +0000 (22:13 +0000)] 
fixed &agrave; parsing (here too)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agoAdded wave files to the distribution scripts
Robin Dunn [Fri, 18 May 2001 22:02:56 +0000 (22:02 +0000)] 
Added wave files to the distribution scripts

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agoCleanup up the demo a bit
Robin Dunn [Fri, 18 May 2001 21:59:59 +0000 (21:59 +0000)] 
Cleanup up the demo a bit

Added wxWave

Added another patch for SWIG that optimizes the generated code some
and eliminates some unused type mappings in the type registry.
(Reduces it by about half!)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agoXPMHAND.H dependency removed
George Tasker [Fri, 18 May 2001 18:43:30 +0000 (18:43 +0000)] 
XPMHAND.H dependency removed

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years ago Applied patch for non-Latin keyboards.
Robert Roebling [Fri, 18 May 2001 18:39:13 +0000 (18:39 +0000)] 
  Applied patch for non-Latin keyboards.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agoUnicode fixes
Václav Slavík [Fri, 18 May 2001 18:34:49 +0000 (18:34 +0000)] 
Unicode fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agoapplied modified patch #424894 (wxrcedit & bcc compilation fixes)
Václav Slavík [Fri, 18 May 2001 18:34:34 +0000 (18:34 +0000)] 
applied modified patch #424894 (wxrcedit & bcc compilation fixes)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agoregenerated
Václav Slavík [Fri, 18 May 2001 18:33:30 +0000 (18:33 +0000)] 
regenerated

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agoAdded compile-time check to be sure that wxUSE_ODBC is set to 1 before attempting...
George Tasker [Fri, 18 May 2001 18:32:33 +0000 (18:32 +0000)] 
Added compile-time check to be sure that wxUSE_ODBC is set to 1 before attempting to compile this program, and error out telling the user to change the setting if they want to compile this program

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agocompilation fix for mouse hack
Vadim Zeitlin [Fri, 18 May 2001 17:15:46 +0000 (17:15 +0000)] 
compilation fix for mouse hack

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agoBug fixes
Julian Smart [Fri, 18 May 2001 14:41:39 +0000 (14:41 +0000)] 
Bug fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agoFixed OOR related problem in OGL
Robin Dunn [Fri, 18 May 2001 06:53:25 +0000 (06:53 +0000)] 
Fixed OOR related problem in OGL

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agoImplemented the first phase of OOR (Original Object Return). See the
Robin Dunn [Fri, 18 May 2001 05:20:01 +0000 (05:20 +0000)] 
Implemented the first phase of OOR (Original Object Return).  See the
text in the demo for more details of what this means, but in a
nutshell methods such as wxWindow.GetParent or FindWindowById will now
return a shadow object of the proper type if it can.  By "proper type"
I mean that if the wxWindow pointer returned from FindWindowById
really points to a wxButton then the Python object constructed will be
of a wxButtonPtr class instead of wxWindowPtr as before.  This should
reduce or eliminiate the need for wxPyTypeCast.  (Woo Hoo!)  The
objects returned are still not the original Python object, but that is
the next step.  (Although it will probably only work on Python 2.1 and
beyond because it will use weak references.)

A few other minor tweaks and fixes and additions for things found
while doing the OOR stuff.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agoFixed wxPoint.__cmp__ and a few others
Robin Dunn [Fri, 18 May 2001 02:32:22 +0000 (02:32 +0000)] 
Fixed wxPoint.__cmp__ and a few others

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agomerged fixes for accel and command event non propagation from 2.2
Vadim Zeitlin [Thu, 17 May 2001 23:46:30 +0000 (23:46 +0000)] 
merged fixes for accel and command event non propagation from 2.2

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agoImplemented the first phase of OOR (Original Object Return). See the
Robin Dunn [Thu, 17 May 2001 22:47:09 +0000 (22:47 +0000)] 
Implemented the first phase of OOR (Original Object Return).  See the
text in the demo for more details of what this means, but in a
nutshell methods such as wxWindow.GetParent or FindWindowById will now
return a shadow object of the proper type if it can.  By "proper type"
I mean that if the wxWindow pointer returned from FindWindowById
really points to a wxButton then the Python object constructed will be
of a wxButtonPtr class instead of wxWindowPtr as before.  This should
reduce or eliminiate the need for wxPyTypeCast.  (Woo Hoo!)  The
objects returned are still not the original Python object, but that is
the next step.  (Although it will probably only work on Python 2.1 and
beyond because it will use weak references.)

A few other minor tweaks and fixes and additions for things found
while doing the OOR stuff.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agofixed wxWindow::SetCursor( wxNullCursor) for mac
Stefan Csomor [Thu, 17 May 2001 15:53:01 +0000 (15:53 +0000)] 
fixed wxWindow::SetCursor( wxNullCursor) for mac

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agodon't annoy the user by repeating the question which had been already answered (and...
Vadim Zeitlin [Thu, 17 May 2001 15:51:09 +0000 (15:51 +0000)] 
don't annoy the user by repeating the question which had been already answered (and also make the question a bit more clear)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agoCall OnParentEnable from wxTextCtrl::Enable
Julian Smart [Thu, 17 May 2001 11:09:22 +0000 (11:09 +0000)] 
Call OnParentEnable from wxTextCtrl::Enable

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agoImplemented OnParentEnable to allow widgets to reset their colours
Julian Smart [Thu, 17 May 2001 10:58:05 +0000 (10:58 +0000)] 
Implemented OnParentEnable to allow widgets to reset their colours
after a wxWindow::Enable call

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agoadded wxLog::ClearTraceMasks()
Vadim Zeitlin [Thu, 17 May 2001 10:11:34 +0000 (10:11 +0000)] 
added wxLog::ClearTraceMasks()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agotypo fix.
Ron Lee [Thu, 17 May 2001 07:53:10 +0000 (07:53 +0000)] 
typo fix.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agoApplied patch #423927, (Min size for stretch parts of wxBoxSizer)
Robin Dunn [Thu, 17 May 2001 07:27:17 +0000 (07:27 +0000)] 
Applied patch #423927, (Min size for stretch parts of wxBoxSizer)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agofixed wrong parsing of &agrave; (typo in tables)
Václav Slavík [Wed, 16 May 2001 22:10:07 +0000 (22:10 +0000)] 
fixed wrong parsing of &agrave; (typo in tables)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agochanged wxBitmap::CreateFromXpm to use wxBitmap(wxImage,int) ctor again -- it should...
Václav Slavík [Wed, 16 May 2001 22:07:59 +0000 (22:07 +0000)] 
changed wxBitmap::CreateFromXpm to use wxBitmap(wxImage,int) ctor again -- it should work fine with BCC now

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agoremoved wxImage::operator wxBitmap()
Václav Slavík [Wed, 16 May 2001 22:07:39 +0000 (22:07 +0000)] 
removed wxImage::operator wxBitmap()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agocorrection for Mac OS X (M_PI is already defined)
Gilles Depeyrot [Wed, 16 May 2001 21:28:54 +0000 (21:28 +0000)] 
correction for Mac OS X (M_PI is already defined)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agocorrections for Mac OS X Developer Tools
Gilles Depeyrot [Wed, 16 May 2001 21:20:50 +0000 (21:20 +0000)] 
corrections for Mac OS X Developer Tools

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agoFindFocus() and wxSpinCtrl fix
Vadim Zeitlin [Wed, 16 May 2001 16:57:08 +0000 (16:57 +0000)] 
FindFocus() and wxSpinCtrl fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agoicon support moved to wxBitmap, allowing for fully transparent usage
Stefan Csomor [Wed, 16 May 2001 16:23:13 +0000 (16:23 +0000)] 
icon support moved to wxBitmap, allowing for fully transparent usage

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agoMade wxWindow::Enable recursive in order to solve colouring problems; forced the...
Julian Smart [Wed, 16 May 2001 15:53:11 +0000 (15:53 +0000)] 
Made wxWindow::Enable recursive in order to solve colouring problems; forced the colour
of a wxTextCtrl back to the custom colour in wxTextCtrl::Enable. This appears
to fix inconsistent colour problems.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agoapplied patch 415912 (fixing problems with wxGrid attrs)
Vadim Zeitlin [Wed, 16 May 2001 13:20:31 +0000 (13:20 +0000)] 
applied patch 415912 (fixing problems with wxGrid attrs)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agoworkaround for notebook/tabctrl redraw bug, it is now not excluded from the local...
Stefan Csomor [Wed, 16 May 2001 12:46:51 +0000 (12:46 +0000)] 
workaround for notebook/tabctrl redraw bug, it is now not excluded from the local eraseRgn of the parent window, thus guaranteeing that the background is always correct

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agocorrected loop for calculating the proper updatergn taking into account only real...
Stefan Csomor [Wed, 16 May 2001 12:16:59 +0000 (12:16 +0000)] 
corrected loop for calculating the proper updatergn taking into account only real subwindows that are shown

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agoApplied patch #418555: wxTextCtrl uses wrong background colour
Julian Smart [Wed, 16 May 2001 12:01:48 +0000 (12:01 +0000)] 
Applied patch #418555: wxTextCtrl uses wrong background colour

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agoApplied patch #403856 (utilscmn.cpp should translate special key names)
Julian Smart [Wed, 16 May 2001 11:54:18 +0000 (11:54 +0000)] 
Applied patch #403856 (utilscmn.cpp should translate special key names)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agoApplied patch #421554: implementation of wxEVT_CONTEXT_MENU
Julian Smart [Wed, 16 May 2001 11:32:21 +0000 (11:32 +0000)] 
Applied patch #421554: implementation of wxEVT_CONTEXT_MENU

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agoApplied patch #421073 (making setup options work)
Julian Smart [Wed, 16 May 2001 11:22:01 +0000 (11:22 +0000)] 
Applied patch #421073 (making setup options work)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agoApplied patch #420395 (adding wxCLIP_SIBBLINGS capability -- but not by default)
Julian Smart [Wed, 16 May 2001 11:14:37 +0000 (11:14 +0000)] 
Applied patch #420395 (adding wxCLIP_SIBBLINGS capability -- but not by default)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agoMore scrolling fixes
David Webster [Wed, 16 May 2001 03:21:53 +0000 (03:21 +0000)] 
More scrolling fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agoremoved useless assert from wxArray::Alloc
Vadim Zeitlin [Wed, 16 May 2001 00:19:42 +0000 (00:19 +0000)] 
removed useless assert from wxArray::Alloc

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agoapplied patch that fixes paper size handling under MSW and sets PD_SELECTION correctly
Václav Slavík [Tue, 15 May 2001 22:04:27 +0000 (22:04 +0000)] 
applied patch that fixes paper size handling under MSW and sets PD_SELECTION correctly

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agoModest fix for executables linking to the wx dll for OS/2.
David Webster [Tue, 15 May 2001 19:55:35 +0000 (19:55 +0000)] 
Modest fix for executables linking to the wx dll for OS/2.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agoEnable this sample for OS/2
David Webster [Tue, 15 May 2001 19:53:48 +0000 (19:53 +0000)] 
Enable this sample for OS/2

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agoMore scrolling stuff.
David Webster [Tue, 15 May 2001 19:52:31 +0000 (19:52 +0000)] 
More scrolling stuff.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agoapplied patch #424066
Václav Slavík [Tue, 15 May 2001 17:02:43 +0000 (17:02 +0000)] 
applied patch #424066
(a bit better attempt to detect system encoding in absence of LANGINFO)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agoCorrected some casting errors -> XtPointer
Julian Smart [Tue, 15 May 2001 14:51:00 +0000 (14:51 +0000)] 
Corrected some casting errors -> XtPointer

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agoAdded buttons to allow a dump of DB DATATYPES and DB DIAGNOSTIC info via wxLogMessage...
George Tasker [Tue, 15 May 2001 13:12:36 +0000 (13:12 +0000)] 
Added buttons to allow a dump of DB DATATYPES and DB DIAGNOSTIC info via wxLogMessage() to the sample app

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agodBase fix on creating index
George Tasker [Tue, 15 May 2001 01:00:56 +0000 (01:00 +0000)] 
dBase fix on creating index
General cleanup of code in the sample

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

23 years agoFixed problems which prevented creation/recreation of tables with MSAcces
George Tasker [Tue, 15 May 2001 00:58:09 +0000 (00:58 +0000)] 
Fixed problems which prevented creation/recreation of tables with MSAcces
General cleanup of code in the sample

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775