Commit Graph

806 Commits

Author SHA1 Message Date
Robin Dunn
d440b68fdf Use dc->GetHandle
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-28 19:43:41 +00:00
Robin Dunn
7dfe04dd59 Copy some recent changes from Classic
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-28 19:43:36 +00:00
Robin Dunn
2ac07d6b9b Add wx.App.Get
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-28 19:43:29 +00:00
Robin Dunn
7e7a3b3d6a add deprecated stubs for GetNoAntiAliasing and SetNoAntiAliasing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-28 19:43:24 +00:00
Robin Dunn
6159f5986c phoenix-port
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-28 19:43:19 +00:00
Robin Dunn
ecfd55ef41 Remove calls to deprecated SetNoAntiAliasing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-28 19:43:13 +00:00
Robin Dunn
824bd0f873 Allow for an item to be already selected in the tree
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-28 19:43:07 +00:00
Robin Dunn
233d83f387 Add another TODO
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-20 01:47:46 +00:00
Robin Dunn
f54ccfb9c8 convert some more snippets
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-20 01:47:41 +00:00
Robin Dunn
1b50dfae9a fix typos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-20 01:47:30 +00:00
Robin Dunn
e8434b517c Update some items marked as MISSING which aren't, and remove a few that were just implementation details before.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-20 01:47:25 +00:00
Robin Dunn
6f734595e1 Add some more TODO's
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-20 01:47:20 +00:00
Robin Dunn
eb0cbeeeff Ensure that items returned by GetChildren are the right type
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-20 01:47:15 +00:00
Robin Dunn
cddb7c88df Reverse the direction of the arrows so they match how class diagrams are normally drawn and better indicate an "is derived from" relationship. Also change the color to navy and use a nicer style of arrow head.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-20 01:47:09 +00:00
Robin Dunn
719770cf45 Since I keep editing the wrong copy of this file, move the classic_vs_phoenix document to the same place as the MigrationGuide document so it is easier to find.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-20 01:47:04 +00:00
Robin Dunn
e7e5fe51c9 Add wxBitmap constructor accepting a list of strings of XPM data
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-19 06:47:30 +00:00
Robin Dunn
cf09f2fa39 wxAutoBufferedPaintDCFactory has been added, mark it as a factory function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-19 06:47:25 +00:00
Robin Dunn
e472f5f679 Now sure how it got duplicated, but we only need to add jquery.cookie.js once.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-19 02:47:42 +00:00
Robin Dunn
0914614515 Add code to make the inheritance diagrams able to be toggled between shown and hidden.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-19 01:22:28 +00:00
Robin Dunn
6c4eac60ef Update version (we should automate this…)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-19 01:22:18 +00:00
Robin Dunn
c9daf25b7c Slightly reword and restructure the main documentation page.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-19 01:22:12 +00:00
Robin Dunn
12c69fa054 Fix for empty snippet files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-18 16:30:46 +00:00
Robin Dunn
11e29f9425 Use the integer value of the enums when making the alias for the old flag names for Font, Brush, and Pen. This fixes it so that the old names can still be used without errors, even when there is overlapping flag names.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-18 07:04:24 +00:00
Robin Dunn
023b9cec66 Convert a few code snippets.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-18 07:04:17 +00:00
Robin Dunn
810a202d80 Block object and "sip.*" classes from the inheritance diagrams.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-18 07:04:07 +00:00
Robin Dunn
26bfb0db4b Center the inheritance images
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-18 07:04:03 +00:00
Robin Dunn
22f7594e27 The doc builder needs to be able to import wx when running the wxlib command, so it also needs to have run the sip and build commands first.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-18 07:03:58 +00:00
Andrea Gavana
3e47ac48e2 Correct a few ReST typos in advancedsplash.py and __init__.py for AGW.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-17 15:39:48 +00:00
Andrea Gavana
2037469921 - Use vertical layout for Graphviz-generated class inheritance diagrams (to get the old behaviour back, change the rankdir arguments from "TB" to "LR" in the inheritance.py script;
- Do not generate module-level inheritance diagrams anymore;
- Correct a few ReST typos in `newevent.py`, `expando.py` and `buttons`;
- Include a toctree ReST reference to `classic_vs_phoenix.txt` in the `MigrationGuide.txt` document, to stop Sphinx complaining about it.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-17 15:28:20 +00:00
Robin Dunn
dca339e4a0 Move the wx.lib modules to a new section, and link to the new modules
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-17 01:06:31 +00:00
Robin Dunn
0cabbdae00 add 'wxlib' command for the doc builder bot
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-17 01:06:25 +00:00
Robin Dunn
4deca77199 Mention moved and removed wx.lib modules
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-17 01:06:20 +00:00
Robin Dunn
6130163855 Add wx.Command and wx.CommandProcessor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-17 01:06:14 +00:00
Robin Dunn
0d3e370c75 Use wxListWrapperTemplate for GetMenus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-17 01:06:06 +00:00
Robin Dunn
489cb9eb1a Adapt wxListWrapperTemplate so it can also be used with plain wxList objects, with a fake type specific wrapper class created for them.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-17 01:06:01 +00:00
Robin Dunn
6cd0f1f2ee Add wx.FileHistory
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-17 01:05:55 +00:00
Robin Dunn
ffe12404c9 Remove modules that have been marked as deprecated for a long time.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-17 01:05:48 +00:00
Robin Dunn
38bf364858 some tweaks to the usage string
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-17 01:05:42 +00:00
Robin Dunn
3458377d62 Remove the old agw stubs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-17 01:05:36 +00:00
Andrea Gavana
f0667ab881 Phoenix-port of another part of the AGW library, including PyProgress, RulerCtrl and ShapedButton. Unittests and documentation updated to Phoenix standards. Holiday time.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-16 22:25:37 +00:00
Andrea Gavana
bb9bd6c9b8 Phoenix:
- Phoenix-port of another part of the AGW library, including `KnobCtrl`, `MultiDirDialog`, `PeakMeterCtrl`, `PyCollapsiblePane` and `PyGauge`. Unittests and documentation updated to Phoenix standards;
- Modified some methods names in the unittest for previously committed AGW widgets.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-16 21:05:36 +00:00
Andrea Gavana
6bfa39aff0 Phoenix:
- Phoenix-port of `wx.lib.buttons.py`, with unittest and documentation updated to Phoenix standards;
- Phoenix-port of part of the AGW library, including `AdvancedSplash`, `BalloonTip`, `ButtonPanel`, `CubeColourDialog`, `CustomTreeCtrl`, `FloatSpin`, `FoldPanelBar`, `FourWaySplitter`, `GenericMessageDialog`, `HyperLinkCtrl` and `HyperTreeList`. Unittests and documentation updated to Phoenix standards;
- Added the `wx2to3.py` module to `wx.lib`, to facilitate the port to Python 3 (AGW depends on it).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-16 16:52:14 +00:00
Andrea Gavana
4f6b6ff7ee Phoenix:
- Phoenix-port of `wx.lib.colourutils.py`, no unittest as I have no idea about which unittest can make any sense for this module. Documentation updated to Phoenix standards.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-15 20:51:09 +00:00
Andrea Gavana
68f6b1cfc9 Phoenix:
- Phoenix-port of `wx.lib.colourselect.py`, with unittest and documentation.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-15 20:36:02 +00:00
Andrea Gavana
27c5c686eb Phoenix:
- Phoenix-port of `wx.lib.imageutils.py`, with (not particularly smart) unittest and documentation.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-15 16:35:45 +00:00
Andrea Gavana
029a845797 Phoenix:
- Phoenix-port of `wx.lib.newevent.py`, with documentation. No unittest for it as I have no idea of what test to write;
- Phoenix-port of `wx.lib.expando.py`, with unittest and documentation.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-15 16:03:11 +00:00
Andrea Gavana
b79cacaf13 Phoenix:
- Phoenix-port of `wx.lib.colourdb.py`, with unittest and documentation.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-15 15:01:29 +00:00
Andrea Gavana
75f833dc7b Phoenix:
- Phoenix-port of `wx.lib.statbmp.py`, with unittest and documentation;
- Small modifications to `wx.lib.stattext.py` docstrings.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-15 14:29:13 +00:00
Andrea Gavana
1eea0d8612 Phoenix:
- Reformat the `classic_vs_phoenix.rst` document for a nicer view, and correct few missing method links.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-15 10:05:26 +00:00
Andrea Gavana
feb4a4b6cc Phoenix:
- Add a new document listing the most common modifications needed to port Classic code to Phoenix; the list contains the conversion for wxPython functions, classes and `wx.Window` / `wx.Sizer` methods.
- Add a reference to this document in the `MigrationGuide.txt` file.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-14 22:19:16 +00:00