]>
git.saurik.com Git - wxWidgets.git/log
Stefan Csomor [Wed, 23 May 2001 06:50:57 +0000 (06:50 +0000)]
added mouse down before activate event in background window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10288
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Wed, 23 May 2001 06:24:17 +0000 (06:24 +0000)]
scrollbar fixes and workaround for redraw problems w/o erase , setbitmap triggers refresh
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10287
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Wed, 23 May 2001 06:15:16 +0000 (06:15 +0000)]
scrollbar fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10286
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Tue, 22 May 2001 22:04:00 +0000 (22:04 +0000)]
applied workaround patch to get rid of crashes in wxrcedit on MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10285
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Tue, 22 May 2001 22:03:40 +0000 (22:03 +0000)]
implemented wxGetSingleChoiceIndex version that takes wxArrayString
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10283
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Tue, 22 May 2001 22:03:33 +0000 (22:03 +0000)]
fixed wxSpinButton handler (did refer to spinbutton nodename, not wxSpinButton class)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10282
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Václav Slavík [Fri, 18 May 2001 22:13:30 +0000 (22:13 +0000)]
fixed à parsing (here too)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10220
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Václav Slavík [Wed, 16 May 2001 22:10:07 +0000 (22:10 +0000)]
fixed wrong parsing of à (typo in tables)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10186
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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