Commit Graph

1141 Commits

Author SHA1 Message Date
Robin Dunn
c7cd5d5fe9 Add the FloatCanvas demo modules
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-26 07:04:14 +00:00
Robin Dunn
e31baa0d8e Patch updating FloatCanvas for Phoenix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-26 06:41:06 +00:00
Robin Dunn
3f4fe92c4d Patch to fix Py3 issue with wx.lib.mixins.listctrl.
- type instance checking (types.StringType)
- unicode vs str comparisions

Closes #15164

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-26 06:40:54 +00:00
Robin Dunn
01d0da517b Patch to fix several Py3 issues with wx.lib.masked.
- string manipulation (string.* methods)
- type instance checking (types.StringType)
- unicode vs str comparisions
- string decoding not needed in py3k
- static methods: Validator_IsSilent()
- remove has_key and fixed + with list(dict.keys())

Closes #15163

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-26 06:40:43 +00:00
Robin Dunn
979c8ca755 Fix new location of old KeyEvent properties.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-24 02:42:53 +00:00
Robin Dunn
6b67dec655 Add a button handler to the sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-24 02:42:45 +00:00
Robin Dunn
c80bd61bf4 Add new cell types.
Let the backend know about the virtuals that may be overridden in the cell classes.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-24 02:42:36 +00:00
Robin Dunn
41bc74b057 Add error check after creating an instance of the tag handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-24 02:42:28 +00:00
Robin Dunn
a5a76820ca cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-24 02:42:19 +00:00
Robin Dunn
f8fc11f5de woking on wxptag issues...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-24 02:42:09 +00:00
Robin Dunn
223d0da20e Fix octal constant to be Py3 compatible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-21 16:34:12 +00:00
Robin Dunn
d0e440a304 Add pubsub unittests, adapted by Werner
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-20 21:53:50 +00:00
Robin Dunn
11761fb1c9 Document changes to old properties in KeyEvent, ListEvent and ListItem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-20 21:17:25 +00:00
Robin Dunn
e5a5e579f6 a couple more Phoenix changes for wx.lib.masked
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-20 21:17:17 +00:00
Robin Dunn
bdd04888a6 Move the rest of the EVT_TEXT binders to the textctrl module.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-20 21:17:08 +00:00
Robin Dunn
32a99226bb Patch from Joel Burton fixing iteration of dictionary items for Py3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-20 21:16:59 +00:00
Robin Dunn
e3269e1ff8 Fix typo in FindItemById names
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-17 02:52:23 +00:00
Robin Dunn
285b319d56 Add missing wxTextUrlEvent and EVT_TEXT_URL, EVT_TEXT_MAXLEN
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-17 02:52:16 +00:00
Robin Dunn
495d42fe27 Patch for wx.lib.masked from Werner.
- added progress tags
- changed wx calls which are no longer valid in Phoenix
- changed public method documentation to Sphinx/Phoenix format
- created tests

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-17 02:52:09 +00:00
Robin Dunn
78e9cdf913 Don't use deprecated methods in the checklst unittests.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-13 01:46:26 +00:00
Robin Dunn
596cb9b484 Set the log target to use stderr so it won't try making log dialogs while tests are running (and the UI might not be in enough of a fully initialized state for them to work without asserting or crashing.)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-13 01:46:18 +00:00
Robin Dunn
bea3258b0b Ignore the GetFirst/GetNext methods in wx.FileConfig so it will use the custom ones in wx.ConfigBase instead.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-13 01:46:09 +00:00
Robin Dunn
b0f18532d4 Fix Get[First|Next][Entry|Group] to work like they did in Classic
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-12 04:02:07 +00:00
Robin Dunn
2e5b10c207 reset cfg.VERSION after running the setrev command
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-11 17:19:02 +00:00
Robin Dunn
df9729b1ac Add the setrev command to the build factories
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-10 01:09:10 +00:00
Robin Dunn
6a20f2a6d4 Add a message displaying the svn rev used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-10 01:09:00 +00:00
Robin Dunn
636315e20e Fix deprecated decorator.
Don't pass empty **kw to callables, it can confuse the arg parser in some cases.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-10 00:06:18 +00:00
Robin Dunn
058ed937da wx.ComboBox fixes.
- disambiguate GetSelection by renaming an overload to GetTextSelection.
- add a SetTextSelection to go with it, but keep both original SetSelection overloads too.
- add deprecated SetMark/GetMark aliases.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-10 00:06:10 +00:00
Robin Dunn
676b45c860 Phoenix patch from Werner for imagebrowser.
- corrected all deprecation warnings
- wrapped all user visible strings with wx.GetTranslation macro
- reformatted existing doc to Sphinx format
- added a little bit of doc
- added a unittest

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-10 00:06:00 +00:00
Robin Dunn
f8e549f767 Workaround to avoid problem possibly due to Unbind() not working.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-10 00:05:50 +00:00
Robin Dunn
b85f0fd8e6 Phoenix patch from Werner for the inspection modules.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-10 00:05:41 +00:00
Robin Dunn
ebdfcfe2db Instead of fetching the svn revision every time a Config object is created add a command to fetch it on demand and cache the value for later use.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-10 00:05:30 +00:00
Robin Dunn
e5eefd8625 Add a note about possibly changing the id in addition to the dependency names.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-10 00:05:21 +00:00
Robin Dunn
d059507f76 Unit test for the debug module
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-05 04:05:08 +00:00
Robin Dunn
10a1ffb4bd Construct and ClassDef for wxXmlSubclassFactory instead of just inserting the text for the declaration.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-05 04:04:59 +00:00
Robin Dunn
a5a432fc1f WEB_VIEW --> WEBVIEW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-05 04:04:51 +00:00
Robin Dunn
984ef83099 Add a new wxDataViewItem ctor accepting an integer value.
Apparently sip used to auto-convert from int to void* but it doesn't anymore. Fixes #15135

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-05 04:04:38 +00:00
Robin Dunn
87b3f4c01e More pdfviewer docstring patched from Werer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-05 04:04:29 +00:00
Robin Dunn
cf48eaed00 Ignore SetTextValidator since we don't wrap wxTextValidator
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-04 01:47:36 +00:00
Robin Dunn
60adbd7d7e More pdfviewer doc updates from Werner.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-04 01:47:27 +00:00
Robin Dunn
4d5de5dcf6 Some phoenix-port work for the WIT.
Probably more still needs to be done, but this is enough to get simple tests working.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-03 02:12:06 +00:00
Robin Dunn
1324a74190 fix typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-03 02:11:56 +00:00
Robin Dunn
04e9e6a8c5 Use isinstance() instead of type() for checking for flags args.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-03 02:11:46 +00:00
Robin Dunn
80bd5f62a9 fix the test command function name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-03 02:11:36 +00:00
Robin Dunn
ee209f1025 Check and run the etg/_core.py file before any others.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-02 03:57:37 +00:00
Robin Dunn
84713e54f4 Patch from Werner adding pdfviewer docstrings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-02 03:57:29 +00:00
Robin Dunn
312ea3deb0 The newevent module still needs to use PyEvent and PyCommandEvent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-02 03:57:18 +00:00
Robin Dunn
75a22d87a9 OnData has an implementation in wxTextDropTarget and wxFileDropTarget
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-03-31 17:14:31 +00:00
Robin Dunn
5f21090a6f OnEnabled is gone
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-03-31 05:05:57 +00:00
Robin Dunn
dcac9b0d4e remove completed build todo items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-03-31 05:05:46 +00:00