Robin Dunn
9ec1cc00f2
Some fixes for some bad wxRTTI names
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-07 00:49:01 +00:00
Robin Dunn
5fdb1fb356
Fixed wxFutureCall so it automatically cleans up after itself after
...
the timer has expired, if there are no references held to it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-16 17:58:09 +00:00
Robin Dunn
e09838afc4
Added wxFutureCall, a subclass of wxTimer that makes it easy to delay
...
a call to any Python callable object.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 00:57:59 +00:00
Robin Dunn
c9cc9d67bc
Typo fix, and a bit more info
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-30 00:56:41 +00:00
Robin Dunn
8245592fde
wxHtmlWindow::LoadFile is now available, added wxNotebookPage helper class
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-09 19:13:07 +00:00
Robin Dunn
ab829dd986
Some updates for wxHtml classes, and other tweaks
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-09 16:23:30 +00:00
Robin Dunn
58ccbbc7b7
Made the version number information more robust and uh, informative.
...
Also added asserts to check that the major.minor versions of wxPython
and wxWindows match.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-02 01:49:07 +00:00
Robin Dunn
c21b5bcd98
Changed wxSWIG to not generate Python code using apply, (since it will
...
be deprecated in the future) wxSWIG will use spam(*args, **kw) syntax
instead. Also changed the generated __repr__ methods to be a bit more
informative.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-01 01:36:08 +00:00
Robin Dunn
8c879ff9c5
Added wxTLW::SetShape and implementations for wxGTK, wxMSW and an
...
empty stub for wxMac.
Added some generic helpers and a new ctor to wxRegion.
Added samples/shaped.
(Backport to 2.4 from 2.5)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-29 19:03:04 +00:00
Robin Dunn
375c124f0d
Gave up on generating a warning upon the use of the old true/false or
...
TRUE/FALSE values.
Fixed the typemap that converts strings to wxColours to also accept
unicode.
Typo fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-19 03:45:44 +00:00
Robin Dunn
a0c711c0d2
Make _DeprecatedNonBool a little more friendly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-11 19:45:01 +00:00
Robin Dunn
6049fb0a7d
Typos fixed, more true/false --> True/False changes, etc
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-11 01:13:20 +00:00
Robin Dunn
92fea4048b
Deprecated NewId and RegisterId
...
Added missing Disable method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-05 04:08:08 +00:00
Robin Dunn
77c36d3df9
Install the .mo files under the wxPython package directory for MSW
...
since there is no standard place for them like on other platforms.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-04 03:33:12 +00:00
Robin Dunn
f2c424c93f
Added static accessors for wxPython for some of the s_mac* members of
...
wxApp on Mac. They are no-ops for the other platforms.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-27 20:14:46 +00:00
Robin Dunn
64dfb023eb
Switched to using True/False in the wxPython lib and demo instead of
...
true/false or TRUE/FALSE to prepare for the new boolean type and
constants being added to Python. Added code to wx.py to test for the
existence of the new constants and to create suitable values if not
present.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-26 18:38:37 +00:00
Robin Dunn
335ac56efb
Added EVT_WINDOW_CREATE_ID and EVT_WINDOW_DESTROY_ID so these events
...
can be associated with a specivif window ID.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-20 19:26:40 +00:00
Robin Dunn
7cc3aa347b
A more complete fix for the wxGauge95 --> wxGauge rtti inconsistency
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-11 00:01:10 +00:00
Robin Dunn
f83ca04634
Removed TABs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-15 23:07:21 +00:00
Robin Dunn
97d2a1b925
Workaround a mismatch between the wxRTTI class name and the wxPython
...
class name. (I should check for others...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-09 23:39:50 +00:00
Robin Dunn
ef84703240
Added a version save isinsnace function
...
Added wxPoint2DDouble
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-10 22:37:10 +00:00
Robin Dunn
8f5c320767
wxSizer.Show, IsShown, etc.
...
Wrappers for and use new wxInputStream methods
Other tweaks, fixes, etc. to go along with recent CVS changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-05 23:03:34 +00:00
Robin Dunn
d73361fed5
Various changes to reflect current CVS.
...
Added a separate wxRadioButton demo.
Various tweaks.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-16 22:51:31 +00:00
Robin Dunn
9312e5d6db
wxASSERT and others are converted to Python Exceptions.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-04 00:40:31 +00:00
Robin Dunn
5fb99fe76f
Allow the developer to choose if SetUseBestVisual is called
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-18 20:39:08 +00:00
Robin Dunn
3fce70fbf5
wxPySimpleApp calls wxInitAllImageHandlers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-12 19:16:53 +00:00
Robin Dunn
83f3dd45be
Added wxEVT_SCROLL_ENDSCROLL
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-11 20:16:03 +00:00
Robin Dunn
c2dac7366c
A few other tweaks, reduced some flicker in the demo, and etc...
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-06 00:56:57 +00:00
Robin Dunn
72797a7da3
Added wxArtProvider and other changes to match CVS updates
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-14 23:31:53 +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
606d919c51
Use the stdout/stderr window by default on Mac too. Force it on in
...
the demo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-14 07:49:05 +00:00
Robin Dunn
6d26dc89c5
Added wxMouseCaptureChangedEvent. Added some missing Capture related methods.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-13 01:37:32 +00:00
Robin Dunn
fc51b8c37e
Better error message, flags --> style in wxHtmlWindow, etc.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-11 23:13:29 +00:00
Robin Dunn
7cdaed0ba0
Changes to match cvs update
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-10 18:39:58 +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
88c7f3f938
rearrainging a few things
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-07 20:29:55 +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
ef2060faf3
SWIGged updates for wxGTK for recent changes
...
A few other little cleanups
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-13 22:17:33 +00:00
Robin Dunn
c0fbf24ba6
A little different fix for how to delay the call to __wxCleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-13 22:01:04 +00:00
Robin Dunn
be43cc441a
A fix for Python 2.2 which can sometimes call __wxCleanup before all
...
the other wxPython objects have been deleted.
Other various things to match recent CVS changes in wx.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-12 21:28:41 +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
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
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
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
2aab8f16ac
Added wxClientDataContainer to wxSizer, so sizers can now do OOR in
...
wxPython too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-21 03:56:07 +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
a3fbed81b2
A better way to handle the OOR wxPyListCtrl --> wxLIstCtrl thing
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-14 16:14:56 +00:00
Robin Dunn
cdf14688f5
Fixed an OOR related bug that happened when a class has been renamed.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-07 16:28:24 +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