Commit Graph

602 Commits

Author SHA1 Message Date
Robin Dunn
8f04fee7be Add wx.adv.NotificationMessage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-24 23:27:12 +00:00
Andrea Gavana
8c1db7a994 Phoenix:
- Add the BannerWindow sample to the snippets;
- Add the animationctrl.png images for the various platforms.

I'm running out of space at the xoomer domain :-(

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-22 19:27:06 +00:00
Robin Dunn
c133c08a8b Explicitly specify the pyArgsString for wx.TextAttr.SetFont since the generators don't know how to handle the & operator in bitflags yet.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-22 00:18:03 +00:00
Robin Dunn
29d1610e0e Fix pi generation of global variables when there is something in front of the wx preifx
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-22 00:17:59 +00:00
Robin Dunn
9d73df7b77 Add wx.adv.EditableListBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-22 00:17:53 +00:00
Robin Dunn
218cf07fa1 Add wx.adv.BannerWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-22 00:17:46 +00:00
Robin Dunn
fffbf482ea check for a parameter named 'winid' too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-22 00:17:39 +00:00
Robin Dunn
28ef2da74e Add wx.adv.AnimationCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-22 00:17:34 +00:00
Robin Dunn
b70299d205 Add simple unittest for wx.Overlay
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-22 00:17:26 +00:00
Robin Dunn
9afc5d886e Fixes crashes when trying to use the variadic version of the wx.FileTypeInfo ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-22 00:17:21 +00:00
Robin Dunn
48d5c078f0 Add wx.adv.Joystick
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-22 00:17:14 +00:00
Andrea Gavana
276acdab9a Phoenix:
- Add the 2 snippets of code related to `FileType`.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-21 20:02:03 +00:00
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