Robin Dunn
c74807054b
Refactored, enhanced and added capabilites for the DrawXXXList
...
functions, inspired by code from Chris Barker.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-28 00:15:29 +00:00
Robin Dunn
c0a6a6df9e
SWIGged updates for wxMac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-27 20:16: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
8258ba4fc1
SWIGged updates for wxMSW
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-26 20:48:05 +00:00
Robin Dunn
473419f996
SWIGged updates for wxMac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-26 20:48:03 +00:00
Robin Dunn
23ea56928a
SWIGged updates for wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-26 19:38:23 +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
774426473a
SWIGged updates for wxMSW
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-26 05:36:57 +00:00
Robin Dunn
3a0ea6aadd
SWIGged updates for wxMac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-26 05:14:01 +00:00
Robin Dunn
4c1916e923
wxCursor(const wxImage&) doesn't exist on Mac, workaround for wxpython
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-26 04:55:38 +00:00
Robin Dunn
df4b33919c
SWIGged updates for wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-26 04:24:28 +00:00
Robin Dunn
42ac4a136f
These hacks shouldn't be needed any longer with the new way that the
...
__del__ methods are generated.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-26 04:13:04 +00:00
Robin Dunn
2bd1f49272
Make sure some class names get put into the wx namespace when non-core
...
modules are imported
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-26 04:01:07 +00:00
Robin Dunn
6d92b8c675
Give the second form of BeginDrag a better name
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-26 03:59:33 +00:00
Robin Dunn
25f8fb989c
Provide both forms of wxLocale::Init to wxPython
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-26 03:56:38 +00:00
Robin Dunn
16efc98226
The manifest file needs to be for python.exe and pythonw.exe, not the
...
core extension dll.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-22 01:10:40 +00:00
Robin Dunn
5b6ec72d86
Mac and GTK can take three icons in the wxDropSource now.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-20 22:19:06 +00:00
Robin Dunn
8f14f1266a
Added a wxBitmap.SetMaskColour convenience method.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-20 19:33:17 +00:00
Robin Dunn
5e7604bc22
Added missing Init method (renamed to InitLang) to wxLocale wrapper.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-20 19:32:33 +00:00
Robin Dunn
371efb285b
Fixed GetFirstSelected helper method, the parameter is ignored
...
(copy-paste error) so I made it optional so old code wont break.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-20 19:30:45 +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
581b33ff45
Add OOR support for wxApp objects too.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-18 00:25:01 +00:00
Robin Dunn
38353dcfac
SWIGged updates for wxMSW
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-14 20:15:02 +00:00
Robin Dunn
31c9ca379c
SWIGged updates for wxMac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-14 20:13:38 +00:00
Robin Dunn
5e21d41f51
SWIGged updates for wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-14 19:36:50 +00:00
Robin Dunn
405c7870da
Added some missing methods to wxRect wrappers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-14 19:29:48 +00:00
Robin Dunn
7d940904da
Added wxImage.SetDatabuffer method
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-14 19:25:27 +00:00
Robin Dunn
0c8d205343
Added ability to make a wxCursor from a wxImage
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-14 19:23:37 +00:00
Robin Dunn
aa0cd0a6e4
version number change
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-14 19:08:00 +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
ee9e836596
SWIGged updates for wxMac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-07 01:00:09 +00:00
Robin Dunn
20f5eb5e7c
SWIGged updates for wxMSW
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-06 18:43:59 +00:00
Robin Dunn
ce41e186c1
SWIGged updates for wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-06 18:37:47 +00:00
Robin Dunn
17eb2d7376
Fixed wxSizer.Insert wrapper to not try to use the first param as the
...
window.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-06 18:36:38 +00:00
Robin Dunn
7c0f7a55ff
Added SetItemSpacing
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-06 18:30:23 +00:00
Robin Dunn
a1c41ce60b
SWIGged updates for wxMSW
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-06 18:28:03 +00:00
Robin Dunn
95b00f921e
SWIGged updates for wxMac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-06 18:26:17 +00:00
Robin Dunn
095038b75b
SWIGged updates for wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-29 03:25:35 +00:00
Robin Dunn
615e5a0c13
Ensure object is a window before calling AddWindow, etc.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-29 03:23:56 +00:00
Robin Dunn
f1a360a475
Load class into wx namespace when the module is imported.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-29 03:22:29 +00:00
Robin Dunn
d72e16bf3c
Make wxColour, wxPoint, wxSize, and etc. picklable.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-29 03:20:50 +00:00
Robin Dunn
0d851d75c5
Serious cleanup of setup.py and removed hacks in my_distutils.py that
...
were working around deficenceis in Distutils. Temporarily added a
copy of the distutils package from Python 2.3a1 here, when they
encorporate a patch of mine and create a new standlone distutils
package then it can be removed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-21 22:14:37 +00:00
Robin Dunn
92e9e17800
SWIGged updates for wxMac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-21 06:11:41 +00:00
Robin Dunn
f3e9a788e8
SWIGged updates for wxMSW
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-21 05:35:07 +00:00
Robin Dunn
f096b09e6d
SWIGged update for wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-21 02:06:06 +00:00
Robin Dunn
d827d4acf0
Typemaps for wxCoord, switch to using it.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-21 00:59:20 +00:00
Robin Dunn
ec96a73450
SWIGged updates for wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-16 04:13:50 +00:00
Robin Dunn
170531ee4b
Work around a bug (I think) in the Python API PyUnicode_AsWideChar
...
when the length of the unicode object is zero.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-16 03:30:18 +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
86d56a0fc3
SWIGged updates for wxMSW
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-15 01:53:18 +00:00