Andrea Gavana
23ec841baf
Phoenix: slight reformatting to the sized_controls.py docstrings and substituted "print" with "print()"
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-03-16 07:59:32 +00:00
Robin Dunn
b53446b409
Phoenix port and docs for sized_controls
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-03-08 07:46:33 +00:00
Robin Dunn
3a5ce237de
Fix wx.FindWindowAtPointer wrapper to return the point parameter in addition to the window
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-03-07 05:22:27 +00:00
Andrea Gavana
2f3a630edd
AGW on Phoenix: add __lt__ and __gt__ methods to the FixedPoint class in FloatSpin, as Python 3 is funnier than I thought.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-02-28 21:14:57 +00:00
Robin Dunn
7905b1bcb1
Switch setup.py to use build.py for the actual building,
...
and set things up so commands like install or bdist_egg are
able to use the build as-is without having to build it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-02-28 19:17:08 +00:00
Robin Dunn
c478ccdbfa
Py3 port for helpviewer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-02-23 02:35:29 +00:00
Robin Dunn
9760539742
Add declarations of the pure virtuals for the file-system handler classes so they can be instantiated, and some unittests.
...
Update wx.tools.helpviewer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-02-22 06:20:36 +00:00
Andrea Gavana
2922d88ad1
AGW on Phoenix: use wx.Bitmap.ConvertToDisabled to generate dimmed/disabled bitmaps for AUI purposes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-02-18 20:39:51 +00:00
Andrea Gavana
685f8023ab
AGW on Phoenix: apply patches from Werner to avoid PyDeadObjectErrors in the persist module and to bypass wx.lib.sized_controls in AUI.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-02-17 23:14:51 +00:00
Robin Dunn
3ae0aa4f12
MaskedComboBox patch from Bill Tutt
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-02-16 04:01:42 +00:00
Robin Dunn
851819da57
MaskedEditCtrl patch from Bill Tutt
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-02-16 04:01:33 +00:00
Robin Dunn
087ebf6655
Patch from Ramin Sabet to update image tools modules for Phoenix and Py3
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-02-16 03:24:46 +00:00
Robin Dunn
5302d40852
Patch from Ramin Sabet to update masked modules for Phoenix and Py3
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-02-16 03:24:37 +00:00
Andrea Gavana
5e6e0d3b0e
AGW on Phoenix: apply patch from Werner to SuperToolTip to allow showing an horizontal line even in the middle of the window.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-02-04 20:32:38 +00:00
Robin Dunn
bbbc2a8724
Handle the case of dragging beyond the last row. Fixes #15007
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-01-28 23:54:04 +00:00
Andrea Gavana
b276e169e7
AGW on Phoenix: dummy datestamp fix for FourWaySplitter
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-01-22 20:21:26 +00:00
Andrea Gavana
120678274f
AGW on Phoenix: fix missing wx.EVT_MOUSE_CAPTURE_LOST handler in LabelBook and correctly place AUIHandler in the persist package.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-01-22 20:02:42 +00:00
Andrea Gavana
dcf382ac31
wxPython (Phoenix) AUI: fix wx.PyDeadObjectErrors when restoring a notebook perspective if a notebook tab contains a control - backport of the fixes on Classic (see #14971 ).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-01-15 20:49:52 +00:00
Robin Dunn
f7bf3c1a1e
Invalidate the cached best size whenever something changes that could affect the best size
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-01-03 19:10:02 +00:00
Robin Dunn
53d0c8de00
default for useFixedWidthFont is now False for NumCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-01-03 05:40:54 +00:00
Robin Dunn
0c5b8ac0a0
Refresh all of the visible portions of the resize widget, not just around the handle.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-29 22:02:13 +00:00
Robin Dunn
628ea65c47
Patch from Werner for better widget size calculations for small masks
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-29 20:43:17 +00:00
Andrea Gavana
5c33e560c8
AGW on Phoenix: more fixes and porting to Phoenix; added unittest for aquabutton.py, flatnotebook.py, gradientbutton.py and infobar.py; minor modifications to wx.lib.masked.maskededit.py and wx.lib.colourutils.py.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-28 22:08:07 +00:00
Andrea Gavana
9f7441bf76
UltimateListCtrl on Phoenix: clear the bitmap background when creating checkboxe and radiobutton images.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-26 19:01:00 +00:00
Robin Dunn
846365232d
typo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-23 03:07:57 +00:00
Andrea Gavana
662e4c69f5
Phoenix: reformat the scrolledpanel.py sample in the docstrings so that (maybe) sphinx_generator.py will not eat it again...
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-22 22:43:28 +00:00
Robin Dunn
280d9e9e86
Only try to import numpy, the others are just way too old. See #3147 , #4130
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-22 08:01:17 +00:00
Robin Dunn
c1fcdf277d
WXK_PRIOR --> WXK_PAGEUP, WXK_NEXT --> WXK_PAGEDOWN, etc.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-22 08:01:03 +00:00
Andrea Gavana
b5718b493f
Phoenix: More conversions in AGW to improve compatibility. Fixed wrong Sphinx interlinks in various AGW modules. Tagged wx.lib.scrolledpanel.py and ported to Phoenix, documented and added a unittest. Small change in the Sizer ReST table.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-21 21:09:33 +00:00
Andrea Gavana
8225935187
Phoenix: More conversions in AGW to improve compatibility. Fixed wrong Sphinx interlinks in various AGW modules. Tagged wx.lib.scrolledpanel.py and ported to Phoenix, documented and added a unittest. Small change in the Sizer ReST table.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-21 21:08:53 +00:00
Andrea Gavana
1fadbee529
ultimatelistctrl.py: wx.Icon does not have a constructor from a bitmap in Phoenix, use CopyFromBitmap instead.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-19 22:03:12 +00:00
Robin Dunn
90ad1bf99c
Invalidate the cached best size value when the _bestsize attribute is changed, so DoGetBestSize will be called again.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-19 21:27:37 +00:00
Robin Dunn
6ffb7c6737
Port some changes from Classic
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-19 21:27:32 +00:00
Andrea Gavana
01483191b1
AGW in Phoenix (4): Many, many changes to almost all the AGW widgets to be able to run the AGW demos (although heavily modified). Add a unittest for LabelBook and FlatImageBook (which asserts on one test for still unknown reasons). Mention that wx.EmptyImage is now deprecated in the classic_vs_phoenix.txt file. Improved the documentation for many AGW widgets to avoid Sphinx missing links. Minor fixes to fancytext.py to allow it to run.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-19 21:06:03 +00:00
Andrea Gavana
b0848b8fd7
Phoenix: fix double wx.wx. thing (how did it get there???)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-18 22:26:11 +00:00
Andrea Gavana
772c323322
AGW on Phoenix (3): Avoid DeprecationWarning for obsolete classes/methods.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-18 21:49:49 +00:00
Andrea Gavana
52fe4ee5eb
AGW on Phoenix (2): various fixes to the docstrings (especially the samples include in the documentation).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-18 21:03:31 +00:00
Andrea Gavana
b3e4757b9c
AGW on Phoenix (1): various fixes to the docstrings (especially the samples include in the documentation).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-18 21:01:42 +00:00
Robin Dunn
5230257003
Set PY33 if version is >= 3.3, not just ==
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-18 19:07:59 +00:00
Andrea Gavana
c480c4578c
PersistentControls on wxPython Phoenix: apply correctly Werner's patch and update the docstrings with the example provided by mattip.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-17 20:16:04 +00:00
Robin Dunn
295d3f6442
* Upgrade to the newest six module (1.2.0) and call it six instead of wx2to3.
...
* Tweak six a little, adding its license text since we'll only be distributing the module, fix the name of the dummy moves module, and add a PY33 constant since the change in memoryview affects our code.
* Update all modules already using the old wx2to3
* Tweak lots of unit tests and other modules to work with Python 3.3 (still a few more that will need some work.)
* Try to deal with memoryview changes in Py3.3, without much luck...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-16 01:15:41 +00:00
Robin Dunn
24d80511a8
typo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-08 21:05:43 +00:00
Andrea Gavana
9decb82713
Phoenix: Revise the way `:param: and :rtype: are handled in sphinx_generator.py so that the module name does not appear in front of the class. Minor cleanups to the docstrings generators. Fixed interlinks in wx.lib.busy.py and wx.lib.softwareupdate.py`.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-06 20:33:39 +00:00
Andrea Gavana
75820304c8
PersistenceManager: apply a slightly modified version of Werner's patch to check if anything was restored or not (second try)...
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-04 21:03:37 +00:00
Andrea Gavana
e48ed22135
PersistenceManager: apply a slightly modified version of Werner's patch to check if anything was restored or not.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-03 21:29:37 +00:00
Andrea Gavana
6d0ef23bee
AquaButton: apply patch from Werner to allow the definition of a disabled colour.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-03 21:16:07 +00:00
Robin Dunn
90bdb0339c
More combobox fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-11-27 01:24:03 +00:00
Robin Dunn
850ef9684f
Some fixes for read-only combobox
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-11-27 01:21:22 +00:00
Andrea Gavana
aac11a80c2
RibbonBar: fix order of parameters for AddToggleButton and its friends - thanks to Victor Lin for the bug report (Phoenix AGW).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-10-31 21:57:13 +00:00
Robin Dunn
c5bcdfe844
Various changes for PyCrust and other py classes to get them working with Phoenix and also avoid deprecation warnings.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-10-27 03:16:59 +00:00