Robin Dunn
c25f90f60c
Use a swig macro for generating the call to the _setCallbackInfo
...
function so it's easy to fiddle with, if needed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-14 22:03:54 +00:00
Robin Dunn
994453b843
added more properties
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-15 21:31:02 +00:00
Robin Dunn
e81851eb9c
Pulse mode in gauge
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 19:36:27 +00:00
Robin Dunn
e81b607b43
Changes needed for new RTL methods, and also various other updates to
...
wx CVS.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-04 23:52:47 +00:00
Robin Dunn
0eae5d0999
Start adding some properties for getter/setter methods
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-02 19:46:44 +00:00
Robin Dunn
1cc14cea1c
Add wxACCEL_CMD, move constants to _accel.i
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-29 18:53:10 +00:00
Robin Dunn
7499bd8874
Still check for a Python error in %threadWrapperOff
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-25 03:21:18 +00:00
Robin Dunn
09c4bfc330
Various updates
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-20 04:20:58 +00:00
Vadim Zeitlin
496e3c3c02
removed wxCB_FILENAME (manually, just to fix the build)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-04 14:39:06 +00:00
Robin Dunn
e6ab1c5756
Added wxCB_FILENAME
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-31 19:12:53 +00:00
Robin Dunn
6aaca5bac6
Various little tweaks to get up to date with CVS
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-29 21:49:25 +00:00
Robin Dunn
88bb598337
Added wxWINDOW_STYLE_MASK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-05 15:58:24 +00:00
Robin Dunn
d0e2ede057
Added wxHyperlinkCtrl, wxPowerEvent, and lots of little things to
...
match changes made in wx.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 19:52:17 +00:00
Robin Dunn
69555b5c86
Use %rename("%(wxpy)s")
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 04:20:10 +00:00
Robin Dunn
0cfaa1dab1
Added wxDD_CHANGE_DIR
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 21:56:15 +00:00
Robin Dunn
2d6a2f1d78
Add wxST_DOTS_MIDDLE and wxST_DOTS_END constants
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-11 01:43:37 +00:00
Robin Dunn
1fce4e9668
Fixed the equality and inequality operators for some of the basic
...
data types (wx.Point, wx.Size, wx.Colour, etc.) to no longer raise a
TypeError if the compared object is not compatible, but to just return
a boolean as expected. For example::
wx.Colour(64,0,64) == 123 ==> False
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-31 23:29:39 +00:00
Robin Dunn
607a3fa066
Editors, Renderers and Attrs need to have a destructor so SWIG won't
...
complain about it, but since they are protected in C++ we need to give
them a dummy one. In the future these shoud be changed to use
%ref/%unref and let SWIG manage the refcount for us.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-20 18:02:37 +00:00
Robin Dunn
080b9cbc7f
Rearrainge things so the SWIG_VERSION values doesn't need to be
...
written to the C++ wrapper file.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-11 19:46:49 +00:00
Robin Dunn
a7a0141800
Changes to how overridable C++ methods are virtualized for Python.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-07 03:56:44 +00:00
Robin Dunn
214c4fbea5
Changes needed to be able to build with SWIG 1.3.24, 1.3.27 as well as
...
the upcoming 1.3.28, using #if statements on SWIG_VERSION.
Adjustments to ownership of SWIG objects, add some destructors and
explicitly disown non-window objects when their ownership is
transfered to a C++ object.
Since all window objects are owned by their parent, or by themselves,
always set their thisown attribute to False.
Explicitly set thisown to False after any Destroy() methods are
called, so SWIG doesn't try to destroy them again.
Etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-29 02:09:45 +00:00
Robin Dunn
9c605285c8
move the nodefault option into _defs.i too.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-24 02:24:25 +00:00
Robin Dunn
2f8102974b
Changes needed for SWIG 1.3.27
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-21 06:45:34 +00:00
Robin Dunn
02b800ce7c
Merged modifications from the 2.6 branch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-30 23:02:03 +00:00
Robin Dunn
a780a8dc19
wxHotkeyModifier --> wxKeyModifier
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-30 20:48:57 +00:00
Robin Dunn
6c75a4cf0f
Removed unnecessary files, removed or replaced images that we're not
...
sure of their origin or license.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-24 20:55:42 +00:00
Robin Dunn
8224a80811
Added wx.BrushFromBitmap to create a stippled brush in a single step.
...
Also added missing brysh style flags: wx.STIPPLE_MASK
wx.STIPPLE_MASK_OPAQUE.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-27 18:57:21 +00:00
Robin Dunn
5f57b149e6
wxDEFAULT_STATUSBAR_STYLE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-04 23:55:08 +00:00
Robin Dunn
c96bf2a768
wxDEFAULT_CONTROL_BORDER
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-04 15:27:51 +00:00
Robin Dunn
d8194e5dd4
Use Python's buffer interface API for all image data and alpha Set/Get
...
methods and the ImageFromData* constructors.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 03:43:52 +00:00
Robin Dunn
08dcfb9266
Add some new WXK codes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-19 21:53:17 +00:00
Robin Dunn
4a065572bf
Little tweaks to match CVS changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-08 00:43:06 +00:00
Robin Dunn
8815349a37
Some new def's, parameters, methods, etc. resulting from recent changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-02 22:34:07 +00:00
Robin Dunn
aeee37c362
* Some WXWIN_COMPATIBILITY_2_4 changes, as well as flagging other
...
things that will need fixing when WXWIN_COMPATIBILITY_2_4 is turned
off.
* Create a custom version of the "default" ctor for wxCursor on wxGTK
* Switch to new format string and name string constants for default
values
* Changes some public data members of event classes into properties as
they are no longer public in the C++.
* Added wxSL_INVERSE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-21 20:38:51 +00:00
Robin Dunn
191dea6de7
Added back wx.PD_SMOOTH
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-31 22:53:50 +00:00
Robin Dunn
1b8c7ba607
Updated to SWIG 1.3.24 (plus a patch that corrects a bug and adds back
...
some things that were changed/removed from my patch I submitted to
them.)
Since it is now possible easily and simply share the SWIG type tables
across modules I reverted to always using the stock SWIG runtime
instead of my slightly hacked up version of it exported via the
wxPython C API.
The %name directive is now deprecated so replaced most uses of it with
a custom %Rename macro that uses %rename internally. These will
evetually need to be replaced with a DocDecl macro when docstrings are
added.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-23 20:44:09 +00:00
Robin Dunn
82bd61672d
Typedef for wxUIntPtr
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-05 20:52:20 +00:00
Robin Dunn
1a1ed52682
updates to support stock buttons
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-01 19:30:50 +00:00
Robin Dunn
db9ba2468e
cleanup whitespace
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-29 19:33:34 +00:00
Robin Dunn
a6ef736205
Fixed broken DocDeclAStr macro
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 05:49:47 +00:00
Robin Dunn
3ea6e0ec63
Docstrings for the sizers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 05:18:49 +00:00
Robin Dunn
ab1f7d2aa9
All the Window and GDI (pen, bitmap, etc.) classes and also many
...
toplevel functions will now check that a wx.App object has already
been created and will raise a wx.PyNoAppError exception if not.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-01 21:38:05 +00:00
Robin Dunn
d07d2bc9d0
Some docstring additions, reformats and epydoc markup.
...
Removed RefDoc macros, instead made all the normal Docstring macros
take an extra parameter to be used for the optional details postion of
the docstring. The intent is that the docstrings put in the generated
.py files checked in to CVS and delivered in releases will be only a
paragraph or two, but when used for generating the epydoc reference
docs they can optionally contain a lot more details.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-12 00:17:48 +00:00
Robin Dunn
6cffbf02c0
Add back some missing enums
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-19 23:22:38 +00:00
Robin Dunn
447f48ba19
Moved some enums around to better match the C++ headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 18:26:05 +00:00
Robin Dunn
f52e0cf489
Changed name to wxFIXED_MINSIZE since that is more descriptive of what
...
it does. The size can still be changed by the sizer, but it won't
query the minsize if this flag is set.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-07 23:06:35 +00:00
Robin Dunn
33e10b88cf
Added wx.FIXED_SIZE.
...
Added some new methods to wx.Window
Added a Destroy method to wx.TaskbarIcon to help avoid double deletes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-07 19:36:47 +00:00
Robin Dunn
69d818954b
default style for statusbars varies by platform
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-08 23:16:10 +00:00
Robin Dunn
d7466b1d18
Fixed PyDropTarget rename
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-26 19:37:41 +00:00
Robin Dunn
2b9048c56f
%addtofunc --> %pythonAppend
...
Also used %pythonPrepend to provide backwards compatibility for a few
parameter name changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-31 01:18:37 +00:00