Commit Graph

62 Commits

Author SHA1 Message Date
Robin Dunn
cdc34da45b SWIGged updates for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-28 00:59:08 +00:00
Robin Dunn
774426473a SWIGged updates for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-26 05:36:57 +00:00
Robin Dunn
38353dcfac SWIGged updates for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-14 20:15:02 +00:00
Robin Dunn
f3e9a788e8 SWIGged updates for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-21 05:35:07 +00:00
Robin Dunn
e591a85a40 SWIGged updates for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-10 00:47:36 +00:00
Robin Dunn
928691d735 SWIGged sources for wxMSW (for unicode API changes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 23:58:34 +00:00
Robin Dunn
daddf28343 SWIGged updates for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-17 02:22:40 +00:00
Robin Dunn
85f726f26a Fixed name clash in wxIEHtmlWin, other minor tweaks.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-08 22:33:39 +00:00
Robin Dunn
36060e25b0 SWIGged code updates for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-21 21:13:36 +00:00
Robin Dunn
67a92fff32 SWIGged updates for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 19:41:45 +00:00
Robin Dunn
3de0866e8c Compilation fixes for wxPython's wxWizard, added wxRegionFromPoints
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-27 20:35:18 +00:00
Robin Dunn
efe12e9542 Updated version and other minor tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-08 18:32:08 +00:00
Robin Dunn
3eb221f6dd Updates related to wxID_ANY and etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-03 22:54:13 +00:00
Robin Dunn
756ed80cb8 An implementation of wxPen.GetDashes.
wxSplitterEvent derives from wxNotifyEvent.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-15 19:46:10 +00:00
Robin Dunn
d394edcac8 wxDF_HTML and FloodFill interface updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-18 05:42:09 +00:00
Robin Dunn
d3bfec747d Some little additions to how wxBufferedDC is wrapped.
SHow how to use the wxBufferedDC in the demo.
Other demo tweaks


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-09 01:25:47 +00:00
Robin Dunn
68bc8549d8 Move font and encoding related classes to a new module. Added
wxLocale and wxEncodingConverter.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-03 18:15:21 +00:00
Robin Dunn
0e9b78ce36 Added wxIconBundle and wxTopLevelWindow.SetIcons.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-01 20:33:16 +00:00
Robin Dunn
137b5242b1 More unicode related cleanup and fixes for wxPython
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-21 05:50:09 +00:00
Robin Dunn
e9159fe8e8 Added wxBufferedDC, changes for wxMenu and wxMenuItem, and other
little fixes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-18 22:11:23 +00:00
Robin Dunn
a541c32586 Core wxPython (non-contrib) now fully works with Unicode!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-13 22:30:20 +00:00
Robin Dunn
c8bc7bb84d Applied and merged patch 486364, which enables wxPython to be built in
unicode mode.  There are a number of things still missing in it and
not everything is converted correctly...  But it now builds and
functions properly again in non-unicode mode so this is a good time to
check in everything.  The previous version of all of wxPython sources
is tagged wxPy_B4_UNICODE.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-10 00:29:04 +00:00
Robin Dunn
7248a051ef Added a wxIconFromBitmap "constructor" for wxIcon.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-08 23:04:56 +00:00
Robin Dunn
7d0180d415 SWIGged updates for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-07 20:34:32 +00:00
Robin Dunn
154747f5be A fix for incorrect wrapping of wxPallet.GetRGB
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-13 22:00:29 +00:00
Robin Dunn
fe40185d40 Check for existing colour names when adding to wxTheColourDatabase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-07 01:44:05 +00:00
Robin Dunn
23bed52041 wxPyEmptyStr --> wxEmptyString
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-01 23:16:16 +00:00
Robin Dunn
ce914f7319 Changes to match recent CVS updates, added demo for wxGenericDirCtrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-22 03:22:03 +00:00
Robin Dunn
68320e40cd Added wxGenericDirCtrl and other varioius updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-15 04:54:19 +00:00
Robin Dunn
b5a5d6473c Some updates to go with changes in current CVS.
Added wxSplashScreen.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-05 23:45:33 +00:00
Robin Dunn
4268f79856 Changed (again) how the Python global interpreter lock is handled as
well as the Python thread state.  This time it works on SMP machines
without barfing and is also still compatible with Python debuggers.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-19 21:25:11 +00:00
Robin Dunn
c594325333 Changes to ensure that GDI objects returned from Python methods are
copied, not just left as references.  The old way was
counter-intuitive for Python.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-29 00:51:59 +00:00
Robin Dunn
2f4e928794 Changes needed to solve wxPython's OOR problem for the wxOGL shapes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-27 02:56:59 +00:00
Robin Dunn
181526acad SWIGged updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-20 02:06:31 +00:00
Robin Dunn
98624b49d3 Various other tweaks and updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-13 03:18:00 +00:00
Robin Dunn
eedf876b34 Added wxPostscriptDC to wxPython
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-03 20:34:26 +00:00
Robin Dunn
b37c7e1dcd Added typemap for wxArrayString
Added wxMimeTypesManager and wxFileType

Other updates...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-30 06:43:54 +00:00
Robin Dunn
17c0e08c61 fixes for the wxPre* helpers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-26 07:23:04 +00:00
Robin Dunn
76e280e796 reference count bugs in DrawXXXList fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-18 01:30:53 +00:00
Robin Dunn
9d37f96428 Added some optimization methods to wxPython's wxDC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-16 19:06:09 +00:00
Robin Dunn
0122b7e3fc Second phase of OOR completed. (Original python object return for
wxEvtHandler and derived classes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-12 23:26:38 +00:00
Robin Dunn
ecc08ead91 Various updates, changes for wxTopLevelWindow, fixes for
wxPen.SetDashes, etc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-27 02:11:47 +00:00
Robin Dunn
6ee2116be1 bug #463146
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-20 16:32:33 +00:00
Robin Dunn
19a97bd6f9 Significantly changed how the Python interpreter lock and thread state
are managed, which should fix the problem of running on a
multi-processor machine.

Some fixes for some of the contributed library modules.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-16 01:51:13 +00:00
Robin Dunn
6d8b4f8d2b Added wxNativeFontInfo and wxFontMapper.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-04 05:00:15 +00:00
Robin Dunn
c7e7022c2c Deprecated PyShell and PyShellWindow, added a snapshot of PyCrust.
Added the new virtual list capabilities to wxListCtrl.

Other odds and ends.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-14 19:19:48 +00:00
Robin Dunn
d56cebe7a4 Added ability to use xml resource files. Still need to add ability to
subclass wxXmlResourceHandler, etc...

Added wxGridAutoEditMixin to the mixins library package.

Made ColourSelect be derived from wxButton.

Fixed a few bugs here and there, added some missing methods, etc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-15 21:43:26 +00:00
Robin Dunn
25832b3f2b 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
2001-05-22 05:59:09 +00:00
Robin Dunn
493f1553fd 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
2001-05-18 21:59:59 +00:00
Robin Dunn
9416aa89ca 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
2001-05-17 22:47:09 +00:00