Commit Graph

2380 Commits

Author SHA1 Message Date
Robin Dunn
4eb38cb526 Merge pull request #127 from david-hughes/pdfviewer
4 August 2016 Phoenix updates for wx.lib.pdfviewer and demo/PDFViewer
2016-08-09 23:02:05 -07:00
Robin Dunn
f04fe636e6 Merge pull request #131 from swt2c/fix_fontdlg_test
Fix fontdlg test on wxGTK
2016-08-09 22:31:58 -07:00
Robin Dunn
58989a69fc Merge pull request #130 from swt2c/fix_filedlg_test
Fix filedlg test
2016-08-09 22:29:49 -07:00
Robin Dunn
9d0f91e010 Merge pull request #129 from swt2c/fix_event_tests_crash
Fix crash when running event tests
2016-08-09 22:28:30 -07:00
Robin Dunn
8d320deb78 Merge pull request #128 from swt2c/fix_filectrl_tests
Fix filectrl tests
2016-08-09 22:25:12 -07:00
Scott Talbert
349f314318 Fix fontdlg test on wxGTK
Unfortunately, wx treats FONTFAMILY_MODERN and FONTFAMILY_TELETYPE as the same,
and even worse, the underlying MSW and GTK implementations are different.
Thus, we need to check for either MODERN or TELETYPE here.
2016-08-07 21:05:27 -04:00
Scott Talbert
1b3f680157 Fix filedlg test 2016-08-07 10:28:03 -04:00
Scott Talbert
127b8dba9b Fix crash when running event tests
HelpEvent requires a wx.App to exist, at least on GTK as it ultimately fetches
the root window.
2016-08-07 10:18:14 -04:00
Scott Talbert
52939e4912 Fix filectrl tests 2016-08-07 09:41:30 -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
David Hughes
a0436a3b6b Updated intra-doc links to ensure fully qualified names 2016-08-05 16:03:43 +01: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
David Hughes
56cad152d9 4 August 2016 Phoenix updates for wx.lib.pdfviewer and demo/PDFViewer
demo/viewer.py and viewer_basics.py removed - was demo of obsolete vtk
2016-08-04 11:26:08 +01: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