Commit Graph

102 Commits

Author SHA1 Message Date
Robin Dunn
3ef86e32dd Lots of changes for wxPython to start using many of the new featues in
wxWindows 2.5


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-24 00:28:34 +00:00
Robin Dunn
1fded56b37 wxPython Merge #2 of 2.4 branch --> HEAD (branch tag: wxPy_2_4_merge_2)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-02 23:13:10 +00:00
Robin Dunn
1e4a197e4c Merged wxPython 2.4.x to the 2.5 branch (Finally!!!)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-25 06:35:27 +00:00
Robin Dunn
f114b8580b Update to Scintilla 1.48
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-11 01:00:07 +00:00
Robin Dunn
a834585d74 Updated to Scintilla from 1.45 to 1.47
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-06 16:59:31 +00:00
Robin Dunn
a6151d99e2 Updated note about the tool scripts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-27 18:56:35 +00:00
Robin Dunn
bffe56c5d1 Updated note about wxSTC using wxPopupWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-27 00:58:15 +00:00
Robin Dunn
628c7f79d4 Added wxXmlResourceHandler to wxPython and enabled it's virtuals to be
Python Callbacks.  Added a sample to the demo to show how to do it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 02:29:34 +00:00
Robin Dunn
af83019e94 Added wxWizard and the wizard page classes, as well as a wizard sample
in the demo.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-17 19:08:21 +00:00
Robin Dunn
3b86714961 Added a sample to the demo that catches various key events and
displays the details of the event.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-13 23:12:25 +00:00
Robin Dunn
bd4b9c8c54 Make batch files for the tool scripts, and other related changes for
win32.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-08 20:14:13 +00:00
Robin Dunn
f6f98ecccd Moved tools to be a Python package in wxPython.tools, added scripts to
import and launch each tool.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-08 18:28:21 +00:00
Robin Dunn
d6a3401d09 Changed the wxDateTime.Parse* methods to return an int that will be -1
on failure, and the index where parsing stopped otherwise.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-11 20:16:53 +00:00
Robin Dunn
5fea3204c9 Added generic static text control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-08 20:06:13 +00:00
Robin Dunn
46e10fde20 typos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-06 01:10:38 +00:00
Robin Dunn
763d71e442 Fix the crash-on-ActiveX-callback problem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-06 00:55:46 +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
c731eb4710 Added wxIEHtmlWin wrappers to wxPython.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-03 22:05:30 +00:00
Robin Dunn
f9b24f070c Added demo of using a sizer in a wxScrolledWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-26 20:08:30 +00:00
Robin Dunn
a66212dcdf Fixed a bunch of embarassing reference leaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-15 05:51:11 +00:00
Robin Dunn
b8510c2f40 minor tweaks and discuss unicode build in win32 build instructions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-07 00:19:39 +00:00
Robin Dunn
b0e5c03934 Added wxPyWindow and wxPyControl which are just like their wx
counterparts except they allow some of the more common C++ virtual
methods to be overridden in Python derived classes.

Changed wxGenButton to derive from wxPyControl.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-06 17:37:38 +00:00
Robin Dunn
94e36a5196 Updates for Push/Pop status text
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-03 23:33:38 +00:00
Robin Dunn
3bd1e03385 Various minor updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-29 18:55:23 +00:00
Robin Dunn
d55d6b3f45 Added wxImage.GetDataBuffer which returns an in-place edit buffer of
the image data.  (Patch #546009)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-22 21:18:52 +00:00
Robin Dunn
2d956b5802 Typo fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-18 05:43:52 +00:00
Robin Dunn
33ff77f695 Some wxGrid related classes now support OOR.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-18 05:37:09 +00:00
Robin Dunn
36d9119341 typo fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-16 21:33:33 +00:00
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