Commit Graph

24 Commits

Author SHA1 Message Date
Robin Dunn
4d5faa2868 Add _xml and _xrc modules with some unit tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-11-30 22:32:53 +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
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
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
Robin Dunn
a0c031bcce Add note about multiple inheritance
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-06-06 01:15:07 +00:00
Robin Dunn
93e5c5de43 fix typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-30 03:15:02 +00:00
Robin Dunn
aa5bc9b6b6 * Add the rest of the wx.DataObject classes and unittests.
* Enable all the important virtual methods to be overridden in Pytyhon subclasses.
* Use Python buffer object APIs and objects for data transfer where appropriate.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-10 22:39:37 +00:00
Robin Dunn
95fac68451 Add wxDropSource and wxDropTarget
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-03 23:30:43 +00:00
Robin Dunn
c2e5a59a8f * Add a new wxPyBuffer class and MappedType to help facilitate checking input and getting the pointer and size of Python Buffer compatible objects.
* Use wxPyBuffer with wx.Image
* Return bytearrays from GetData and GetAlpha
* Return memoryviews from GetDataBuffer and GetAlphaBuffer
* Add some notes about these changes to the migration guide

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-28 04:04:53 +00:00
Robin Dunn
8fecc2b5f9 * Rename the wrappers for the C++ wxPlatformInfo to wx.PlatformInformation.
* Restore the wx.PlatformInfo tuple like it exists in Classic.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-24 00:15:33 +00:00
Robin Dunn
053aadb224 Add notes about 2-phase create
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-24 00:15:22 +00:00
Robin Dunn
0fc8a04d30 Add wx.DragImage and wx.GenericDragImage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-10 03:23:32 +00:00
Robin Dunn
547ad2938e * Switch wxTreeItemData to be a %MappedType instead of something that the programmer has to deal with.
* Make [G|S]etItemData be the same as the [G|S]etItemPyData methods in Classic, and make the latter be deprecated aliases.
* Adjust unittests and add one for GetSelections.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-29 16:59:30 +00:00
Robin Dunn
647e0fc6a6 typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-29 16:58:59 +00:00
Andrea Gavana
003fb0a804 Phoenix:
1) Update documentation generator for `InfoBar`, `ListCtrl` and new additions;
2) Correct the `writeIfChanged` method, we can't use `str(text)` if the wxWidgets docs contain non-ascii compliant docstrings. Just treat them as unicode objects and use `codecs.open` to compare existing files with new docstrings;
3) Add empty stubs for the `ListCtrl Overview` and `Internationalization`, hopefully someone will populate them...
4) Small fix to the `MigrationGuide.txt`.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-27 20:54:15 +00:00
Robin Dunn
af2a23c0ee Add listctrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-26 19:22:09 +00:00
Robin Dunn
f568f54a60 Add a migration note about the organization of the extension modules.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-26 19:22:01 +00:00
Robin Dunn
3ab334932e renamed wx.PyAssertionError
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-03 01:00:44 +00:00
Robin Dunn
9497ff98b9 SIP handles raising an eception for dead objects for us. Add a __nonzero__ and some tests to go along with it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-02 23:34:10 +00:00
Robin Dunn
54520f7a3a Make the new wx.PlatformInfo able to act like a seqeunce containing the same strings as the Classic wx.PlatformInfo. Add unit tests.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-24 18:27:37 +00:00
Robin Dunn
b3224b21e9 Mention static method wrappers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-24 18:08:36 +00:00
Robin Dunn
5bf38a1a26 Add aliases for the old font, pen, brush, etc. flags.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-04 07:57:20 +00:00
Robin Dunn
20324e7a69 reword it a bit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-20 16:20:36 +00:00
Robin Dunn
933c11bd43 Start the Phoenix migration guide.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-20 05:46:11 +00:00