Commit Graph

2370 Commits

Author SHA1 Message Date
Scott Talbert
22d9d555ab Fix lib_agw_pyprogress tests 2016-08-13 20:38:54 -04:00
Robin Dunn
0a80536c8b PyFunctionDef should also have a hasOverloads() method for quacking like a duck. 2016-08-05 21:20:04 -07:00
Robin Dunn
97a5183ebf Merge branch 'swt2c-fix_wxmask_test' 2016-08-05 21:03:23 -07:00
Robin Dunn
b643ea4289 wx.Palette constructor doesn't need the array length anymore 2016-08-05 21:02:50 -07:00
Robin Dunn
0d1d4ddf58 Merge branch 'fix_wxmask_test' of https://github.com/swt2c/Phoenix into swt2c-fix_wxmask_test 2016-08-05 20:57:38 -07:00
Robin Dunn
3bbcd4b7f3 Some docs updates for wx.Palette 2016-08-05 16:22:45 -07:00
Robin Dunn
f48b90f8c4 Use bold for method and class names 2016-08-05 16:22:15 -07:00
Robin Dunn
50c1acd136 Don't use "*args, **kw" in the docs when only one of the overloads is not ignored. 2016-08-05 16:21:35 -07:00
Robin Dunn
cd9d6b7be8 Merge branch 'swt2c-palette' 2016-08-05 13:20:37 -07:00
Robin Dunn
a672913e97 Refactor custom Create code to a separate helper function.
Add a replacement for the constructor taking arrays of rgb values.
Update and expand tests.
2016-08-05 12:08:21 -07:00
Robin Dunn
1429bb0dd2 Add missing "PyErr_Clear();" for cppCtors 2016-08-05 12:00:17 -07:00
Robin Dunn
ab01a89816 Fix wxPalette::Create on OSX 2016-08-04 22:48:57 -07:00
Robin Dunn
fe29df05d4 Switch from Tuple to more general Sequence, and other refactoring. 2016-08-04 22:42:32 -07:00
Robin Dunn
c680758ff1 Merge branch 'palette' of https://github.com/swt2c/Phoenix into swt2c-palette 2016-08-04 19:47:54 -07:00
Scott Talbert
fefc7c59b0 Add wrapper and unittests for wxPalette 2016-08-04 20:47:58 -04:00
Robin Dunn
8a0571207b Add DLG_UNIT helper, with deprecated wrappers for DLG_SZE and DLG_PNT.
Update the demo.
2016-08-02 11:02:54 -07:00
Robin Dunn
054067ae71 Don't set the id parameter default to wx.ID_ANY if there is a default. 2016-08-02 10:50:07 -07:00
Scott Talbert
1f6114efb8 Fix test for wxMask constructor using wxPalette and skip it on wxGTK 2016-08-01 23:30:42 -04:00
Robin Dunn
3f4646c7cd Merge pull request #123 from swt2c/fix_unittest_imports
Fix a couple of imports in unittests
2016-08-01 13:37:55 -07:00
Scott Talbert
c44aca24f0 Fix a couple of imports in unittests 2016-07-30 20:52:44 -04:00
Robin Dunn
97f27e8b7c Merge pull request #122 from swt2c/fix_wxdatetime_test
Fix ParseRfc822Date test so that it works in time zones other than Ro…
2016-07-30 12:33:30 -07:00
Scott Talbert
c8a49cbc4b Fix ParseRfc822Date test so that it works in time zones other than Robin's 2016-07-30 14:01:13 -04:00
Robin Dunn
e5529a1c32 Merge pull request #121 from RobinD42/pseudodc
Add PseudoDC and wrappers to wx.adv
2016-07-29 20:09:23 -07:00
Robin Dunn
56e8241e8f Use a wx.GCDC 2016-07-29 20:08:10 -07:00
Robin Dunn
11a81ee9e4 Fix import 2016-07-29 19:53:15 -07:00
Robin Dunn
9b0399cfa5 Fix typos and add some tests 2016-07-29 19:52:57 -07:00
Robin Dunn
4732fcdf18 Various documentation fixes for PseudoDC 2016-07-29 18:56:03 -07:00
Robin Dunn
a9ad5419e9 Remove BeginDrawing/EndDrawing 2016-07-29 18:54:47 -07:00
Robin Dunn
aa2d0de125 Finish PseudoDC wrappers, and update the demo. 2016-07-29 16:39:29 -07:00
Robin Dunn
1b82b0cf04 Message fix in wx.deprecated 2016-07-28 19:52:13 -07:00
Robin Dunn
953a7a74e5 Use fully qualified names 2016-07-28 19:50:47 -07:00
Robin Dunn
b269afd58c Begin adding PseudoDC 2016-07-27 16:13:13 -07:00
Robin Dunn
9cb833a2f1 Merge pull request #119 from RobinD42/cairo
Allow either cairocffi or PyCairo to be used from Phoenix
2016-07-25 16:32:28 -07:00
Robin Dunn
fc2a9df989 Finish docs and other changes for wx.lib.graphics 2016-07-25 16:28:08 -07:00
Robin Dunn
0799ebbb0b Merge branch 'master' into cairo 2016-07-23 00:28:32 -07:00
Robin Dunn
9bcccff097 If a property's getter has a docstring, use it. 2016-07-23 00:25:08 -07:00
Robin Dunn
83a134cab7 Some cleanup and beginning of docstring work in wx.lib.graphics. 2016-07-22 20:40:41 -07:00
Robin Dunn
de49506fca Fix table formatting 2016-07-22 20:37:21 -07:00
Robin Dunn
c96a93f4af typo 2016-07-22 20:26:16 -07:00
Robin Dunn
4ef21b2c38 wxColourData.GetColour returns a reference, so when sharing data objects we need to explicitly copy the colour object.
Also increase the size of the button a little.
2016-07-22 18:56:12 -07:00
Robin Dunn
19d614c9b6 cleanup and fixes in the GraphicsContext samples 2016-07-22 18:54:25 -07:00
Robin Dunn
bb9431d49f typo and docstring updates 2016-07-22 18:53:28 -07:00
Robin Dunn
09d4d817e6 Enable runcmd to use a list for the command, and have it quote elements as needed. 2016-07-22 14:41:14 -07:00
Robin Dunn
648e5789fc Enable runcmd to use a list for the command, and have it quote elements as needed. 2016-07-22 14:28:00 -07:00
Robin Dunn
5e8f4b1264 Revert 8e0b359e, it just caused additional problems.
It will need a different solution.
2016-07-22 13:40:06 -07:00
Robin Dunn
8e0b359e15 Use single quotes for python commands containing a ';', otherwise in some cases the shell sees it as separate shell commands instead of one python command with multiple statements. 2016-07-22 11:03:12 -07:00
Robin Dunn
3145a1e8dd Cairo tweaks for GTK 2016-07-20 17:11:31 -07:00
Robin Dunn
7dd03f7fa7 doc tweaks 2016-07-20 17:11:31 -07:00
Robin Dunn
beb4cec4f3 A little style cleanup 2016-07-20 17:11:31 -07:00
Robin Dunn
48212ae4eb Update the Sorry message 2016-07-20 17:11:31 -07:00