Commit Graph

110 Commits

Author SHA1 Message Date
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
Robin Dunn
d1e76a376e SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-16 06:54:16 +00:00
Robin Dunn
db34b2d45d Regenerated SWIGged sources for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-16 01:03:43 +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
Václav Slavík
8a05370420 use the new wxSystemSettings API everywhere
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-08 23:35:26 +00:00
Robin Dunn
6abe8375ac SWIGged code updates for wxMAC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-06 01:14:26 +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
0e2ff151af SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-20 17:01:09 +00:00
Robin Dunn
474c48f92e wxGTK SWIGged updates for:
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@13128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-20 07:08:06 +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
950e7faf4a Added wxLEDNumberCtrl to gizmos and wxPython
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-07 18:45:16 +00:00
Robin Dunn
ff65119eb2 Changed a method name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-07 04:32:43 +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
1dc302a8ae Removed m_clientData and related methods as it's now handled by the
wxClientDataContainer mixin.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-03 18:17:43 +00:00
Robin Dunn
7a0f694a11 SWIGged code update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-30 21:17:18 +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
3e2125031b SWIGged code update for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-30 05:08:46 +00:00
Robin Dunn
7b7ac0ab51 Added wxChildFocusEvent
Updated wxHtmlWindow

Added wxEditableListBox


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-28 09:47:53 +00:00
Robin Dunn
dbd3685cc4 New SWIGged files for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-27 06:22:32 +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
6e8a778af3 Added wxDynamicSashWindow to wxPython, plus other odds and ends.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-25 09:39:49 +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
80cb3dbc36 SWIGged code updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-20 06:30:33 +00:00
Robin Dunn
262e41eb55 SWIGged code updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-20 02:52:07 +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