Commit Graph

1371 Commits

Author SHA1 Message Date
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
b8c4ab9cbc Added GetResourcesDir and GetLocalizedResourcesDir to
wx.StandardPaths.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-29 02:34:00 +00:00
Robin Dunn
6802574779 more size_t --> unsigned int changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-25 00:13:33 +00:00
Robin Dunn
50f151d726 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-24 01:52:48 +00:00
Robin Dunn
cdd7b180fe wxFileSystemHandler needs a destructor and to give ownership to wxFileSystem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-24 00:12:12 +00:00
Robin Dunn
2fbb702ba3 Length --> length
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-24 00:10:48 +00:00
Robin Dunn
3f5ec80664 Several instances of int --> unsigned int
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-24 00:08:45 +00:00
Robin Dunn
f52cbe909c reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-20 18:26:35 +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
80b6bf7c7c A bit of cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-19 02:22:08 +00:00
Robin Dunn
ac288fac82 docstrings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-19 02:17:43 +00:00
Robin Dunn
6cedc146fa Add wxHelpProvider destructor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-19 02:16:08 +00:00
David Surovell
611ac06b89 cleanup - fixed a warning, some typos, and made minor reformatting changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-17 04:09:10 +00:00
Robin Dunn
3abaf18160 The dummy wxDisplay class is no longer needed as there is now always a
wxDisplay class available, but it has limiited functionality if
wxUSE_DISPLAY is zero.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-17 01:30:21 +00:00
Robin Dunn
8f146d6b11 updated comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-17 00:54:51 +00:00
Robin Dunn
90ab4a358c Add GetClientArea
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-17 00:50:33 +00:00
Robin Dunn
1c71765a15 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-16 23:41:43 +00:00
Robin Dunn
75219dcb68 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-16 23:24:27 +00:00
Robin Dunn
3c31306c74 Docstring typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-16 23:22:10 +00:00
Robin Dunn
8072477d51 Enable OnDrawSeparator and OnDrawBackground to be overridable in wx.HtmlListBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-16 02:30:42 +00:00
Robin Dunn
5756f98678 Added wx.Window.GetScreenPosition and GetScreenRect
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-15 22:46:55 +00:00
Robin Dunn
f8dda225b3 some int --> size_t changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-15 22:45:10 +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
ace78e271b SWIG 1.3.29
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-14 04:06:46 +00:00
Robin Dunn
369ac260a9 Sometimes we do need to allow recursion of callbacks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-14 01:28:22 +00:00
Robin Dunn
226de48a85 Dtor for wxHtmlCell
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-13 23:11:35 +00:00
Robin Dunn
06db67bcb0 Applied Patch #1424869: Implement wxListCtrl::SetItemColumnImage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-10 21:26:59 +00:00
Robin Dunn
c5633576a8 Give classes that need one a destructor wrapper, and set %disown when
another class takes ownership.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-10 00:27:37 +00:00
Robin Dunn
d344366c42 Add wx.ListBox.HitTest
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-10 00:26:28 +00:00
Robin Dunn
821053dda4 Add wx.CommandEvent.GetClientData
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-10 00:24:32 +00:00
David Surovell
0e859e3223 cleanup magic number usage and comments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-10 00:01:28 +00:00
Robin Dunn
f355f03e63 workaround MacSetMetalAppearance being made protected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-08 03:06:25 +00:00
Robin Dunn
5ce8a6113a GetEditControl is not wxMSW specific any more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-05 04:01:10 +00:00
Robin Dunn
b4b426fe86 Dont' return references to wxDateTime
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-05 04:00:35 +00:00
Robin Dunn
971e47976f Comment out wxHVScrolledWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-05 04:00:08 +00:00
Robin Dunn
df5f8f4e3d Add GetHandlers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-05 03:59:45 +00:00
Robin Dunn
7d50c11074 Add copy constructor, DateTimeFromDateTime
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-05 03:59:06 +00:00
Robin Dunn
23ed80cb4d Add LastWrite
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-24 01:13:18 +00:00
Robin Dunn
c86fa5a1fa Add CalcRowsCols
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-24 01:12:40 +00:00
Robin Dunn
9c38390133 Docstring fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-24 01:11:56 +00:00
Robin Dunn
bea992c873 Docstring fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-24 01:05:19 +00:00
Robin Dunn
4424b2a116 Added the wx.HVScrolledWindow class.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-18 21:37:24 +00:00
Robin Dunn
06336f51bb Added GetToolsCount
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-16 03:07:20 +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
Robin Dunn
1f168cbd49 New APIs, Events, etc. for MediaCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-13 19:15:16 +00:00
Robin Dunn
3edb17decf new GetShown, Show, and etc. for wx.UpdateUIEvent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-13 19:13:38 +00:00
Robin Dunn
b702ab768f a little reorg and cleanup from the last two revisions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-13 19:12:31 +00:00
Robin Dunn
a2c53287f8 Forward decalre wxPyFindSwigType
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-12 08:17:29 +00:00