Robin Dunn
4d61dc78a8
Add overlay classes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-19 06:22:42 +00:00
Robin Dunn
68d0292399
Remove extra symbols from global variables before writing the code for the pi file
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-19 06:22:32 +00:00
Robin Dunn
5867c12a93
add missing setters for some wx.Rect properties, and also use the autogenerated properties.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-19 06:22:28 +00:00
Robin Dunn
9a389de406
Add wx.PowerEvent
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-19 06:22:23 +00:00
Robin Dunn
ee85ff894a
Add Mime classes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-18 20:23:02 +00:00
Andrea Gavana
87ef3295a7
Phoenix:
...
- Add the `DataObject` overview;
- Correct some missing link to the print dialog overview;
- Add converted snippets for wx.Sound, wx.DataObject and friends.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-17 20:56:11 +00:00
Robin Dunn
80a0991700
Ignore IsPlaying, it's not in the MSW port
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-17 05:16:53 +00:00
Robin Dunn
340e631233
Add wx.adv.Sound
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-17 02:54:28 +00:00
Robin Dunn
34904a45eb
allow cppSignature args to the _sip methods too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-17 02:54:20 +00:00
Robin Dunn
3d3aaae524
Tweak some comments
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-17 02:49:13 +00:00
Robin Dunn
1282553221
The test function is not imported from _core because of the leading underscore. Check and use it directly from wx._core instead.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-17 02:49:08 +00:00
Robin Dunn
5253d778e7
Add --cairo flag for MSW build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-12 06:57:34 +00:00
Robin Dunn
370d9e45c9
Make it possible to build both release and debug (*_d.pyd, /MDd, etc.) versions on Windows.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-12 06:18:09 +00:00
Robin Dunn
267123eea9
copy the cairo DLLs on Windows
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-12 06:18:05 +00:00
Robin Dunn
39ba18dc58
Fix wxURLDataObject
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-10 22:39:42 +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
470cc7cea8
Import __version__ differently so WingIDE's source analysis works again.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-10 22:39:29 +00:00
Robin Dunn
342459580d
Add a unit test for wx.Clipboard
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-10 22:39:24 +00:00
Robin Dunn
2bd3ad68b6
Move the ConvertToSubClas code to a tool function so it can be reused elsewhere.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-10 22:39:18 +00:00
Robin Dunn
ec06cdb967
indent the GIL macros
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-10 22:39:12 +00:00
Robin Dunn
cb5e679b6d
Add a convenience function to the API for creating a writable buffer object from a pointer and size.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-10 22:39:08 +00:00
Robin Dunn
4045293f9d
Acquire the GIL before checking for an error
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-10 22:39:02 +00:00
Robin Dunn
6742c20040
Release the GIL when calling the function generated for CppMethod objects.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-10 22:38:57 +00:00
Robin Dunn
21a4a98cb7
Add wxClipboard
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-10 22:38:52 +00:00
Robin Dunn
15115dca23
* Allow defining the real C++ signature of a method or ctor that we are replacing with a custom method with a different signature. This is important when the original is a ctor or a virtual method, and so there will need to be a matching method/ctor for it in the custom derived class generated by SIP.
...
* Also support defining the code to be used in the "virtual catcher" so we can map between the real signature and our custom signature when reflecting the call to Python code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-10 22:38:45 +00:00
Robin Dunn
ec2e03905b
PyDropTarget alias should be module code, not class code.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-03 23:30:53 +00:00
Robin Dunn
33a6da35ee
Remove wx prefixes for default values in the pyArgsString.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-03 23:30:48 +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
75bc864e1c
Run _core first
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-30 05:35:58 +00:00
Robin Dunn
00a0e811f0
quick fix for missing wxDragResult
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-30 05:35:53 +00:00
Andrea Gavana
0921891d22
Phoenix: support latest changes to the codebase in the docs.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-29 23:53:03 +00:00
Robin Dunn
4553421c50
Typecast return value
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-28 05:21:31 +00:00
Robin Dunn
18098181e3
Add buffer related methods and helpers for wxBitmap
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-28 04:05:08 +00:00
Robin Dunn
df774efcd0
It's okay for the buffer size to be larger than the expected size, only raise an error if the buffer is smaller
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-28 04:04:58 +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
259869c431
Add include guards
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-28 04:04:42 +00:00
Robin Dunn
09df1a5ae0
Increase the delay to wait before trying to close the dialogs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-26 01:29:44 +00:00
Robin Dunn
ad25fd5756
Fix comment
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-26 01:29:39 +00:00
Robin Dunn
e8e932aade
* Fix image ctors that accept data buffers to check the size of the buffer
...
* Do the same for the Create, SetData and SetAlpha methods
* Replace the GetData and GetAlpha to return copies of the buffer as in Classic
* Add GetDataBuffer, GetAlphaBuffer, SetDataBuffer, SetAlphaBuffer methods
* Add wxImageHandler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-26 01:29:35 +00:00
Robin Dunn
7b6a094c4f
Add support for using SIP's NoArgParser annotation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-26 01:29:28 +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
Andrea Gavana
5e1bfb8ada
Phoenix: add the print dialog/data stuff, the pickers and the new tip provider overview in the documentation.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-22 10:22:26 +00:00
Robin Dunn
146d38aa1b
Add the various print framework classes and a printing sample application.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-21 00:07:56 +00:00
Robin Dunn
a29a0d503a
Output the deprecated method lines for both classes, not twice for one class.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-21 00:07:45 +00:00
Robin Dunn
b75a58bc0b
Fix the order of the DC classes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-21 00:07:41 +00:00
Robin Dunn
0a9d14c47c
Add wx.adv.TaskBarIcon
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-20 05:41:54 +00:00
Robin Dunn
3fd123c309
Fix the docs builder
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-19 16:54:45 +00:00
Robin Dunn
e16b81ee23
Add some new images for the docs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-19 16:54:38 +00:00
Robin Dunn
62decf2fc3
Add a new builder for the docs, reorder some other stuff a bit too.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-19 03:04:12 +00:00