Commit Graph

135 Commits

Author SHA1 Message Date
Robin Dunn
fd512ba286 Various wxPython updates to go along with recent changes in CVS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 19:39:28 +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
cd834e7b5a Allow loading xrc resources from a string
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-09 19:29:52 +00:00
Robin Dunn
e98fc45512 New wxActiveX code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-08 18:29:59 +00:00
Robin Dunn
32a85500ad Added overloaded LoadMenuBar as LoadMenuBarOnFrame for wxPython
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-20 00:07:51 +00:00
Robin Dunn
d3b5510235 New wxActiveX code from Lindsay and added ability to load page from stream
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-20 00:06:59 +00:00
Robin Dunn
811712d820 put unicode mods back in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-11 17:55:47 +00:00
Robin Dunn
83a732882a New wxActiveX and wxIEHtmlWin from Lindsay
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-11 17:43:34 +00:00
Robin Dunn
24ad91f346 Changes for wxUSE_UNICODE==1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-07 00:09:48 +00:00
Robin Dunn
4fcf77bc06 Added name to wxShapeCanvas ctor for consistency
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-06 04:14:52 +00:00
Robin Dunn
d7abf01706 Add pos, size and style parameters to the window constructors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-06 00:42:51 +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
7c379a20cf Some typemap updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-24 23:55:30 +00:00
Robin Dunn
366d7bd615 Added component control accessors to wxEditableListBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-24 21:51:06 +00:00
Vadim Zeitlin
63fd5f0b27 added missing semicolons after asserts (patch 567853)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-12 15:26:35 +00:00
Robin Dunn
c8c000ef52 SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-06 19:17:50 +00:00
Robin Dunn
4bb081fd23 wxMac SWIGged updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-05 20:50:00 +00:00
Robin Dunn
c13219d6a8 Changed FindTExt intercase to more easily handle additional flags.
Fixed GetCharAt and GetStyleAt to only return values 0..255 instead of
possibly negative values.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-04 19:25:29 +00:00
Robin Dunn
92bbd64f7f Patch 559673 and 561053
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-27 22:06:55 +00:00
Robin Dunn
203c2f9a9a changes to match recent CVS updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-27 17:52:57 +00:00
Robin Dunn
451c5cc7b9 wxSTC changes to help it work better on wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-15 19:07:48 +00:00
Robin Dunn
b787b2a9d7 swigged updated code for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-04 04:53:14 +00:00
Robin Dunn
6129f59eb4 swigged code update for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-04 00:23:52 +00:00
Robin Dunn
9c46ea6647 Make it easier to not use wxPopupWindow in wxSTC, and for now, don't
use it at all for the AutoComplete window.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-03 23:30:40 +00:00
Robin Dunn
5d26a7e65f Changes for the embedded sample to build on Linux
Swigged updates for wxGTK


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-02 06:18:39 +00:00
Robin Dunn
6e2129f90f Changed the name of export.h to wxPython.h so it wouldn't be so
generic.  This is the header that should be included by 3rd party
stuff that is embedding wxPython or making a new wxPython extension
module.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-02 02:46:14 +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
c893f25d86 Fixed GetShapeList and similar methods to use OOR.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-11 23:12:02 +00:00
Robin Dunn
4acff284f9 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 instanc 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@15059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-09 22:01:45 +00:00
Robin Dunn
4069916857 SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-04 05:44:55 +00:00
Robin Dunn
a323d3bda7 SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-03 19:25:11 +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
0b9dfbc00e Give access to m_lastKeydownConsumed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-30 01:19:59 +00:00
Robin Dunn
c3bfa1cb28 SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-21 20:35:45 +00:00
Robin Dunn
9a74fcaf97 SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-21 06:48:55 +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
10ef30eb53 wxStyledTextCtrl can now be built and used when wxUSE_UNICODE==1.
When in unicode mode Scintilla uses UTF-8 internally so the wxSTC
wrapper only needs to convert to/from UTF-8 in the right places.
Still need to figure out to get unicode characters from key/char
events...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-20 20:43:39 +00:00
Robin Dunn
a884bee57a SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-18 23:10:23 +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
1496068d02 Changes needed for wxUSE_UNICODE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-15 20:42:58 +00:00
Robin Dunn
6824d4f9e0 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@14535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-10 00:40:13 +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
633d5f82fc Removed redundant definitions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-09 03:18:40 +00:00
Václav Slavík
dd1d4b137b applied patch to wxEditableListBox that adds wxEL_ALLOW_{EDIT,NEW,DELETE} with obvious meanings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-08 23:57:35 +00:00
Robin Dunn
6187ec8f45 Added patch that adds style flags for wxEditableListBox to not use
some of its standard buttons.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-08 21:10:04 +00:00
Robin Dunn
f54a35fe22 Updated the build docs a bit, added wxMetafileDataObject, and some
cleanup and fixes here and there.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-06 21:03:27 +00:00
Václav Slavík
20ae6f8d09 wxXmlInitXmlModule no longer needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-03 23:53:43 +00:00
Robin Dunn
c6c593e88d Updates for recent changes to wx, and some other little tweaks and fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-29 00:11:38 +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
293a0a8677 Fixed a typemap.
Added a Python list --> wxArrayInt typemap and wxArrayInt --> Python
list helper.

Added wxMultiChoiceDialog.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-21 21:33:07 +00:00