Kevin Ollivier
dbace455c0
Use DrawItemSelectionRect on GTK2 and OS X. Also, use white text when drawing focused under Mac.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-19 07:32:54 +00:00
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
f9bf356bd1
reSWIGged
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 02:47:22 +00:00
Robin Dunn
580080c5d6
reSWIGged
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 17:52:46 +00:00
Robin Dunn
3ecece7e04
Fixed some (out) typemaps
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 15:22:43 +00:00
Robin Dunn
e02c0a1360
reSWIGged
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 04:27:32 +00:00
Robin Dunn
48ac3cf8e0
fix HitTest
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 21:35:16 +00:00
Robin Dunn
e70b4d2db9
Add properties
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-26 00:26:35 +00:00
Robin Dunn
8c16f80618
Don't turn off the HAS_BUTTONS stle on wxMac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-18 15:25:30 +00:00
Robin Dunn
33d6fd3b4c
reSWIGged
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-14 21:27:26 +00:00
Robin Dunn
80752b57a9
As per wx-dev, split the sort arrow options out to a separate parameter.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-14 19:42:41 +00:00
Robin Dunn
5c86a7fa9e
Changes for TreeListCtrl to take advantage of the new native
...
HeaderButton abilities
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-13 20:47:11 +00:00
Robin Dunn
47e5915415
compile fix for Mac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-13 01:31:11 +00:00
Robin Dunn
33328cd882
Updated the C++ code for wx.gizmos.TreeListCtrl from the wxCode
...
project.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-12 21:05:20 +00:00
Robin Dunn
4caf1fc560
Adapt to some wxDC methods becoming protected
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-21 18:28:35 +00:00
Robin Dunn
01fdd95507
Replace the yields with updating the dirty portions of the window in
...
idle time. Also remove the double buffering of the header window so
the DrawHeaderButton will work on wxGTK.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-04 04:15:32 +00:00
Robin Dunn
0f83f5da39
reSWIGged
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-01 18:14:02 +00:00
Robin Dunn
34e0a3bbdc
reSWIGged
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-01 18:06:52 +00:00
Robin Dunn
27e4589253
reSWIGged
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-10 16:45:25 +00:00
Robin Dunn
d1a49b7829
reSWIGged
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-05 02:07:46 +00:00
Robin Dunn
065fa541eb
Avoid crash in SelectAll if there are no nodes besides the root
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-05 01:35:36 +00:00
Robin Dunn
96221a45d3
reSWIGged
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-05 01:31:58 +00:00
Robin Dunn
4f89b6b70a
reSWIGged
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-05 00:45:27 +00:00
Robin Dunn
453fb36b0a
reSWIGged
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-04 22:29:24 +00:00
Robin Dunn
3d6c9062b1
reSWIGged
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-04 22:18:27 +00:00
Robin Dunn
092f0ed782
reSWIGged
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-06 19:21:28 +00:00
Robin Dunn
2131d850ee
reSWIGged
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-19 02:02:29 +00:00
Robin Dunn
8d7e482e06
generated rename directives are no longer needed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-19 01:10:46 +00:00
Robin Dunn
f460c29d59
Use correct DLL import/export specifier for multi-lib builds
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 01:22:06 +00:00
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