Commit Graph

3108 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
293524e162 Use MustHaveApp for wx.RendererNative.Get and others
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-26 16:35:36 +00:00
Robin Dunn
f4102f1735 wx.lib.mixins.listctrl.TextEditMixin: Fixed the double END_LABEL_EDIT
event problem in TextEditMixin by checking if the editor was already
hidden before continuing with the CloseEditor method.  Also added code
to OpenEditor to send the BEGIN_LABEL_EDIT event and to not allow the
opening of the editor to continue if the event handler doesn't allow
it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-25 15:41:53 +00:00
Robin Dunn
0fe9c32957 Make it possible for pywxrc to generate just the gettext _() strings
with no other code, and also make it possible to process more than one
XRC file at once into a single output module.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-24 04:49:07 +00:00
Robin Dunn
f05326bac1 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 21:15:19 +00:00
Robin Dunn
06810ecffb reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 21:08:28 +00:00
Robin Dunn
6dc3c14ff2 Minor fixes for the overzealous renamer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 02:06:18 +00:00
Robin Dunn
c68c9afe84 a bit of cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 02:05:38 +00:00
Robin Dunn
7847dc507a Add some dtor wrappers for the print dialogs that are not really
dialogs


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 02:05:01 +00:00
Robin Dunn
30fc5e8fee Added wrappers and demo for RichTextCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 01:10:25 +00:00
Robin Dunn
13bf44b079 Demo the page setup dialog instead of the print setup dialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-19 22:58:12 +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
b8aab4d28d memory dc must have bitmap selected into it before it can be used for measuring
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-19 01:57:30 +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
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
4dca6329b1 wxMessageBox --> wx.MessageBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 23:14:49 +00:00
Robin Dunn
1767b394f0 Don't set a module attribute for the *_swigregister functions, just
call the one in the extension module directly.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 16:15:41 +00:00
Robin Dunn
d306ba9b27 Added SetQuickBestSize and GetQuickBestSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 15:57:05 +00:00
Robin Dunn
bbf0bd0538 Undo part of lst change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 14:45:03 +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
0d6e24c346 Forgot about dropping the 'wx' for some Python objects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 23:37:32 +00:00
Robin Dunn
c15893b50e I haven't taught SWIG about wxChar, so pretend it's a wxString
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 05:20:15 +00:00
Robin Dunn
05c43d4677 Clipboard events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 05:15:32 +00:00
Robin Dunn
7e8142e986 Use Bind for OnCloseWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 05:13:35 +00:00
Robin Dunn
69555b5c86 Use %rename("%(wxpy)s")
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 04:20:10 +00:00
Robin Dunn
ddc00ed1ea Set BUILD_RENAMERS default to zero.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 04:15:33 +00:00
Robin Dunn
d9f09ac42c Added SWIG patch that enables the wx-dropping renames to be done
internally instead of needing to be generated in a second pass after
processing the XML output.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 04:14:20 +00:00
Robin Dunn
29a41103aa Ported XRCed to the wx namespace, and also enabled the selected,
focus, and disabled bitmaps of wxBitmapButton to actually be treated
like bitmaps.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 03:57:57 +00:00
Robin Dunn
2daad28083 wxMSW doesn't have the default ctor or Create method for wxDirDialog yet.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-15 15:32:26 +00:00
Robin Dunn
9c5c87674a Added SetSashPosition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-15 14:58:36 +00:00
Robin Dunn
2240b1aa74 Make the app object be global in case it is run multiple times, such
as from encode_bitmaps.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-10 23:22:27 +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
4a692286ca We no longer use the xml files, (and havn't for some time) so stop
generating them.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-10 23:09:22 +00:00
Robin Dunn
68d76e7385 Add wx.TextAttr.Merge
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 22:41:13 +00:00
Robin Dunn
7e25260c0d GetXRCID has a new parameter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 21:57:09 +00:00
Robin Dunn
0cfaa1dab1 Added wxDD_CHANGE_DIR
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 21:56:15 +00:00
Robin Dunn
41d4305cd3 minor wx.DirDialog updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 21:55:27 +00:00
Robin Dunn
b14b1312ac fix a typo causing the wrong method to be called.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-05 19:09:04 +00:00
Robin Dunn
ab0c98223a Added Get/SetItemToolTip
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 19:42:17 +00:00
Robin Dunn
4e20fcc551 Ensure the button still exists after the Notify before doing anything
with it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 02:18:25 +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
8ec09aacc6 wx.ProgressDialog.Update now returns two values.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 02:15:48 +00:00
Robin Dunn
27eac64cf9 Font size adjustment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 02:09:24 +00:00
Robin Dunn
1e19282e10 Use SetBackgroundStyle for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 02:08:47 +00:00
Robin Dunn
4b13569ffb Add test for a stock button
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 02:08:09 +00:00
Robin Dunn
1d14e1836a Add GetAsString
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 02:07:41 +00:00
Robin Dunn
229acc7990 Amazingly GetInt returns an integer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 02:07:00 +00:00
Robin Dunn
4a983d2c63 IsAlwaysMaximized
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 02:06:37 +00:00
Robin Dunn
ef802f32a3 Expose UpdateScrollbar and RemoveScrollbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 02:05:58 +00:00
Robin Dunn
4ba3af91ab Docstring updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 02:04:22 +00:00