Robin Dunn
c8b34a16f7
A little black magic... When the C++ object (for a window or
...
whatever) is deleted there is no way to force the Python shadow object
to also be destroyed and clean up all references to it. This leads to
crashes if the shadow object tries to call a method with the old C++
pointer... The black magic I've done is to replace the __class__ in the
Python instance object with a class that raises an exception whenever a
method call is attempted.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-09 22:14:34 +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
726fc00ab9
Added wxListCtrlAutoWidthMixin from Erik Westra.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-01 20:31:23 +00:00
Robin Dunn
15030c51b8
A saner implementation for the new wxToolBar methods that keeps
...
backwards compatilibilty (including keyword args names for wxPython)
and still exposes the new stuff.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-01 20:29:35 +00:00
Robin Dunn
b96c7a38a8
Updates to match recent CVS changes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-26 21:55:33 +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
1a2fb4cd61
Updated wxSTC from Scintilla 1.40 to Scintilla 1.45
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-18 22:31:01 +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
18fc9fa3b5
More XRCed updates from Roman
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-07 21:33:31 +00:00
Robin Dunn
dae710e70d
fixed typo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-28 19:06:32 +00:00
Robin Dunn
96de41c2c5
Added wxPython.lib.rcsizer which contains RowColSizer. This sizer is
...
based on code from Niki Spahiev and lets you specify a row and column
for each item, as well as optional column or row spanning. Cells with
not item assigned to it are just left blank. Stretchable rows or
columns are specified and work the same as in wxFlexGridSizer.
A few other minor changes too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-28 19:01:19 +00:00
Robin Dunn
afb810d936
Changed the img2py tool to use PNG instead of XPM for embedding image
...
data in Python source code, and the generated code now uses streams to
convert the image data to wxImage, wxBitmap, or wxIcon.
A few other changes to match recent additions to CVS.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-26 22:35:10 +00:00
Robin Dunn
f74ff5efa5
Finished wrapping and providing typemaps for wxInputStream and also
...
added the stream ctor and other methods for wxImage so images can now
be loaded from any Python "file-like" object.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-23 19:50:01 +00:00
Robin Dunn
769a9cb2b8
The calltip window and autocomplete window in wxSTC will now use a
...
wxPopupWindow if available so they can extend beyond the client area
of the STC if needed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-09 00:40:42 +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
71f1334b40
Typo fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-13 18:51:23 +00:00
Robin Dunn
4a61305d36
Added wxDllWidget from Vaclav Slavik which allows wx widgets derived
...
from wxWindow to be loaded from a C++ .dll (or .so) and be used in a
wxPython program, without the widget having to be SWIGged first.
Various updates for distribs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-06 19:59:37 +00:00
Robin Dunn
78e8819c2e
Added SplitTree sample to the demo
...
Fixes for wxEditor and its FrogEdit sample
Misc. other stuff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-03 20:41:03 +00:00
Robin Dunn
1918b6f789
Updated PyCrust contrib from Patrick O'Brian.
...
Added an enhanced wxEditor from Steve Howell and Adam Feuer.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-01 02:25:39 +00:00
Robin Dunn
611dc22cee
Attempted to add the SplitTree gizmo classes, but it is not working on
...
MSW... :-(
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-30 21:16:36 +00:00
Robin Dunn
ebf4302cbe
Added wxDynamicSashWindow to wxPython, plus other odds and ends.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-25 09:10:01 +00:00
Robin Dunn
7dbce44a33
Added wxFileHistory
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-14 04:03:09 +00:00
Robin Dunn
c0c84fa088
Finally figured out wxPopupWindow, added to demo.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-13 03:16:03 +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
729f427637
Added wxRightTextCtrl from Josu Oyanguren
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-21 03:43:58 +00:00
Robin Dunn
79f1bf32d7
Added a set of sophisticated Error Dialogs from Chris Fama.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-18 20:41:33 +00:00
Robin Dunn
a697845484
Expanded some release notes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-18 19:06:02 +00:00
Robin Dunn
fe0aca3712
wxPython updates for new wxSTC
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-18 01:33:13 +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
76bfdc7816
Added wxPyLog so log targets can be created in Python with the
...
appropriate callbacks.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-05 18:29:29 +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
431f4c161d
Added pySketch sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-06 21:19:48 +00:00
Robin Dunn
fea018f801
A couple little fixes for wxSTC
...
Updated to 0.6 of PyCrust
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-04 23:44:17 +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
53fe40bac2
Added more contribs from Lorne White, and updated some of the existing ones.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-04 04:17:38 +00:00
Robin Dunn
ddcb3d8378
Added wxGenBitmapTextButton contrib from Lorne White.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-03 23:23:47 +00:00
Robin Dunn
6d19860fe8
Updated wxColumnSorterMixin to also be able to place sort icons on the
...
column headers, and updated the wxListCtrl demo to show it off by
using wxColumnSorterMixin.
Other odds and ends...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-03 22:41:18 +00:00
Robin Dunn
65ec6247df
Upgraded to version 1.39 of Scintilla, and upated wxStyledTextCtrl
...
accordingly.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-01 03:06:33 +00:00
Robin Dunn
09f3d4e679
Added XRCed to the wxPython Tools directory, contributed by Roman
...
Rolinsky.
Added wrappers for the default ctor and the Create methods for most
window classes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-31 21:38:03 +00:00
Robin Dunn
00b6c4e33b
Added a new sample app that is a style editor for wxSTC.
...
Some other tweaks and fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-28 19:21:45 +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
4f3449b432
Added context help stuff to wxPython
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-29 03:06:02 +00:00
Robin Dunn
286e2db69c
Fixed img2py to work correctly with Python 2.1.
...
Added enhanced wxVTKRenderWindow by Prabhu Ramachandran
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-06 04:11:34 +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