Commit Graph

285 Commits

Author SHA1 Message Date
Robin Dunn
bd2903e1c3 Another stab (hopefully the last) at how to handle the delayed
initialization of the stock objects.  Go ahead and create an
uninitialized instance using __new__, and then just set the .this
attribute when the app is initialized.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-26 16:43:24 +00:00
Robin Dunn
4b40bcb44d DeprecationWarning for the old wxPython package.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-19 01:25:12 +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
50efceee4e reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 23:00:39 +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
4725f47eb2 Various wxHtml updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-15 05:30:35 +00:00
Robin Dunn
1564807335 Wrap some deprecation wrappers around newly deprecated items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-15 05:02:59 +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
6cfc5ebfa7 no longer need reverse renamers for the *Ptr classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 15:56:22 +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
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
49102d7bd0 Added the wx.HVScrolledWindow class.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-18 21:43:28 +00:00
Robin Dunn
ec646e6384 New APIs, Events, etc. for MediaCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-13 19:20:46 +00:00
Robin Dunn
b15ce82158 Add missing constants
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-10 18:36:50 +00:00
Robin Dunn
c26d9ab4b5 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-07 04:16:22 +00:00
Robin Dunn
6aabc8da32 Added wxPython wrappers for the new wx.Treebook and wx.Toolbook
classes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-01 23:46:43 +00:00
Robin Dunn
4617be085f Another merge of 2.6 changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-17 05:42:30 +00:00
Robin Dunn
095315e20d another merge from WX_2_6_BRANCH
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-06 07:05:15 +00:00
Robin Dunn
1979aa5872 Added wx.GetColourFromUser and wx.GetFontFromUser
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-02 19:35:00 +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
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
Robin Dunn
c95499b9be Added wx.RendererNative class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-09 20:11:14 +00:00
Robin Dunn
53307de4e3 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-09 18:49:34 +00:00
Robin Dunn
4f433feff9 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-01 02:36:12 +00:00
Robin Dunn
a187dc0b2a reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-26 22:38:46 +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
73c8ef6a22 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-11 18:07:04 +00:00
Robin Dunn
d04418a701 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-27 20:02:41 +00:00
Robin Dunn
05ccd26a17 No longer building the C++ version of the OGL lib
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-20 21:44:36 +00:00
Robin Dunn
70b7a5fe0c reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-11 20:15:31 +00:00
Robin Dunn
b6b0383e24 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-06 04:16:51 +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
2e5aa9c48d Added wrappers and a demo for the animate contrib
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-04 23:15:29 +00:00
Robin Dunn
bcd0d7b64b reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-04 15:29:48 +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
c4c1e8d6a7 New wxTE_ flags
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-28 20:05:47 +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
88c6b2812a reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-19 22:21:07 +00:00
Robin Dunn
0c549c5fd6 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-12 20:26:57 +00:00
Robin Dunn
8f4d7c19ba reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-08 01:06:44 +00:00
Robin Dunn
9c874b4822 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-05 00:57:36 +00:00
Robin Dunn
e2950dbb1f reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-03 20:13:45 +00:00
Robin Dunn
9df51bd066 Added more image options
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-28 18:45:29 +00:00
Robin Dunn
24d7cbea55 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-26 03:32:46 +00:00
Robin Dunn
68350608bc reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-20 00:15:10 +00:00
Robin Dunn
0c243d9389 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 23:05:19 +00:00
Robin Dunn
91334b48e2 Added wx.DatePickerCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-18 04:52:13 +00:00
Robin Dunn
e8d51145fe reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-11 23:40:42 +00:00
Robin Dunn
091fdbfacb reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-07 21:04:17 +00:00