Commit Graph

174 Commits

Author SHA1 Message Date
Robin Dunn
01f6b6d3c8 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-10 23:12:34 +00:00
Robin Dunn
7f80dd64ec Handle object ownership of wxTreeListColumnInfo and wxPyTreeItemData properly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 02:16:52 +00:00
Robin Dunn
99a001dd43 Changed how the stock objects (wx.RED, wx.RED_PEN, wx.RED_BRUSH, etc.)
are initialized.  They are now created as a wrapper object that
initializes itself on first use (when an attribute of the object is
requested.)  This was needed because of similar delayed initialization
functionality that was implemented in wxWidgets, but the end result is
cleaner for wxPython as well, and allowed me to remove some ugly code
under the covers.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 21:49:48 +00:00
Robin Dunn
e9d6f3a473 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-15 07:30:59 +00:00
Robin Dunn
faca2e452f Fixed reference leak in wx.gizmos.TreeListCtrl.GetSelections.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-30 01:38:38 +00:00
Robin Dunn
1bd5559898 reSWIGed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-14 05:17:03 +00:00
Robin Dunn
554f62e979 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-14 05:06:32 +00:00
Robin Dunn
0085ce4937 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-14 04:18:43 +00:00
Robin Dunn
760b2b99f3 Use wxSystemSetitngs for the rule color
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-24 01:04:21 +00:00
Robin Dunn
b1fcee843e reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-14 22:13:50 +00:00
David Surovell
63811cf00a removed deprecated wxDC.[Begin,End]Drawing calls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-07 09:32:05 +00:00
Robin Dunn
7e08d4efc7 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-02 02:02:04 +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
7449af7300 reSWIGged with the new SWIG runtime
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-23 23:04:44 +00:00
Robin Dunn
32fe513144 reSWIGged with new SWIG runtime
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-23 23:01:54 +00:00
Robin Dunn
9d7dfdff8c reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-02 19:23:18 +00:00
Robin Dunn
943e8dfd02 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-02 19:11:14 +00:00
Kevin Ollivier
2f91e3dfd2 Fixes so that wxPython builds on 2.7. Mostly removing references to all functions that require WXWIN_2_4_COMPATIBILITY to be defined.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-22 06:57:46 +00:00
David Surovell
7ec81a8c2d fixed improper (long) casts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-28 22:24:00 +00:00
Dimitri Schoolwerth
412e0d47c0 applied patch #1356901 "Yet another removal of extra semicolons", also fixed remaining similar cases of extra semicolons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-20 21:55:35 +00:00
Mart Raudsepp
8907154c1a Nuke #pragma implementation/interface's
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-23 12:56:45 +00:00
Julian Smart
d69225772a Olly Betts' typo patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-31 09:29:22 +00:00
Dimitri Schoolwerth
0a3d6509d4 removed redundant preprocessor check
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-22 01:48:22 +00:00
Robin Dunn
71237536b6 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-09 19:19:32 +00:00
Robin Dunn
66af7a7540 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-16 06:29:58 +00:00
Robin Dunn
02b455f2f4 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-16 05:55:37 +00:00
Robin Dunn
4002a6cc0e reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-30 23:04:58 +00:00
Robin Dunn
d3397f6a15 default parameters
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-30 22:56:44 +00:00
Robin Dunn
6260902dee reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-30 21:23:52 +00:00
Robin Dunn
7e4b7f9a8b Added wxStaticPicture
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-30 18:56:05 +00:00
Robin Dunn
3837a853c9 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-24 17:51:57 +00:00
Robin Dunn
396fb5091d reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-24 17:42:48 +00:00
Robin Dunn
6c56259a08 use wxEventType instead of enum
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-24 16:44:03 +00:00
Robin Dunn
5a44633293 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-09 22:49:23 +00:00
Robin Dunn
6e6b35578d Use the PyGILState_* APIs on Python >= 2.3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-09 22:28:52 +00:00
Robin Dunn
4f73709d9c Set the mouse pos for the drag events, add support for the tooltip event
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-02 18:32:28 +00:00
Robin Dunn
53aa7709e0 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-18 19:33:00 +00:00
Robin Dunn
51b83b3756 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-14 02:24:04 +00:00
Robin Dunn
d77016e8aa GetSystemColour --> GetColour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-05 21:55:39 +00:00
Robin Dunn
136518e5c0 Factor out the OnSize code so it can also be used in other places
where the header window needs to be adjusted.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-03 22:10:10 +00:00
Robin Dunn
e4b64104c8 fix compilo for when there are no precompiled headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-31 22:27:51 +00:00
Robin Dunn
e778b8f059 Correct some redraw glitches in the header when resizing, and also
double buffer the header to eliminate the rest of the flicker.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-31 20:21:44 +00:00
Robin Dunn
36ed4f517f reSWIGged after 1.3.24 update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-23 21:46:51 +00:00
Robin Dunn
3004cfd8ca reSWIGged after 1.3.24 update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-23 21:39:36 +00:00
Robin Dunn
093d3ff1f7 reSWIGged after 1.3.24 update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-23 21:34:11 +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
6e0de3dfc4 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-24 20:10:40 +00:00
Robin Dunn
8ac8dba00c reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-24 19:52:08 +00:00
Robin Dunn
fc71d09b42 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-21 00:29:20 +00:00
Robin Dunn
070c48b4c0 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-13 03:24:21 +00:00