Commit Graph

367 Commits

Author SHA1 Message Date
Robin Dunn
3a44ba8f0b Fix __setitem__ and add another test 2015-03-12 10:15:58 -07:00
Robin Dunn
b3089a52e8 Add Get() and sequence protocol methods to RichTextRange 2015-03-12 10:15:58 -07:00
Robin Dunn
b048fb93ef Pythonize StatusBar.SetStatusStyles 2015-03-06 17:02:19 -08:00
wernerfb
2ad78d83ab Allow that an individual controls saves/restores its value (got into SVN at some point) 2015-03-01 18:07:04 +01:00
Werner F Bruhin
5b606897ca - test for background color to be correct 2015-02-27 10:47:51 +01:00
Werner F Bruhin
c6eff96a3f - timectrl demo shows all values as invalid/out of bounds
- so added a test, but strangely enough that passes, but doesn't hurt
2015-02-27 10:47:50 +01:00
Robin Dunn
15e911fd96 Change the wx.DateTime.Parse*() to be like they were in Classic, returning a -1 on failure, or the number of characters parsed otherwise.
Add some unit tests to exercise the new methods.
2015-02-25 00:00:23 -08:00
Robin Dunn
869213973e Ensure mouse is released to fix test 2015-02-16 17:19:47 -08:00
Robin Dunn
fc8a5ee480 Merge branch 'june_flatmenu' of https://github.com/wernerfb/Phoenix into wernerfb-june_flatmenu 2015-02-16 16:29:47 -08:00
Robin Dunn
464f3c5c39 Add test for richtextxml 2015-02-16 16:00:23 -08:00
Robin Dunn
66631aa0b3 Add tests for the richtextsymboldlg module 2015-02-16 15:54:18 -08:00
Robin Dunn
35d9698453 Add tests for richtextstyles module 2015-02-16 13:32:33 -08:00
Robin Dunn
3c7590b185 Some more progress on RichText wrappers and tests 2015-02-14 18:38:29 -08:00
Robin Dunn
8818cef57a Add a "little bit of everything" test 2015-02-14 15:22:11 -08:00
Robin Dunn
3922e19cf6 Add a few richtextctrl tests 2015-02-14 13:51:33 -08:00
Robin Dunn
b9b6a86f65 richtext wip 2015-02-14 12:59:23 -08:00
Werner F Bruhin
5ea25818e9 - a basic test 2015-02-10 14:50:23 +01:00
Robin Dunn
f9fa22b71d Merge pull request #78 from wernerfb/may
FloatCanvas and sized_controls
2015-02-09 17:24:49 -08:00
Werner F Bruhin
8e3feae598 Merge branch 'master' of https://github.com/RobinD42/Phoenix into june_ogl_rework-autopep8 2015-02-05 11:37:54 +01:00
Werner F Bruhin
0b0d7f3d89 - added additional tests per shape 2015-02-05 11:23:19 +01:00
Robin Dunn
0ecc26455a Merge branch 'may-aquab' of git://github.com/wernerfb/Phoenix into wernerfb-may-aquab 2015-02-04 18:36:15 -08:00
Robin Dunn
fb07b42f22 fix spelling of ribbon in filename 2015-02-04 14:33:39 -08:00
Robin Dunn
30d645fcda Merge branch 'june-agw' of git://github.com/wernerfb/Phoenix into wernerfb-june-agw 2015-02-04 14:30:07 -08:00
Robin Dunn
21ea5db38e Merge pull request #83 from wernerfb/june_fixtests
some unittest corrections for Py3
2015-02-04 13:44:47 -08:00
Robin Dunn
0de92bb18b More pubsub unittest fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@78302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-12-23 00:28:20 +00:00
Robin Dunn
236cedff5c Pythonize DataViewCtrl.HitTest
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@78204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-11-28 04:48:08 +00:00
Robin Dunn
4b2fc7f330 Add __nonzero__ for wx.Sizer. Closes #15470
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@77978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-10-08 04:33:51 +00:00
Werner F Bruhin
7a96bd6296 - KEY_SHIFT and KEY_CTRL where defined in canvas.py and composit.py moved to oglmisc.py
- added above to test_lib_ogl.py
2014-06-14 15:23:41 +02:00
Werner F Bruhin
667c0658db - added line alignment constants 2014-06-13 16:04:50 +02:00
Werner F Bruhin
5a61dbfb8a - add a unittest
- get it to run on Py2.7 and Py3.3
- add flags
2014-06-11 12:35:31 +02:00
Werner F Bruhin
0ba34658be - skip the opening menu test until crash reason is fixed 2014-06-10 17:35:24 +02:00
Werner F Bruhin
6fbc2e6ab3 - add a flatmenu unittest to show crash when one does e.g. a flatmenu.Popup
- in lib.agw.flatmenu needed to test GetMainLoop as it returns None during test
2014-06-10 16:56:53 +02:00
Werner F Bruhin
d6d63cc54d - number of lines is 2 (at least on Win8), so changed check
- assertGreater looks clearer
2014-06-10 15:13:27 +02:00
Werner F Bruhin
72b529b599 - fix the check for long for py3 2014-06-10 13:54:05 +02:00
Werner F Bruhin
7f42cb6f7f - on Win8 this failed as FONTFAMILY_TELETYPE is ending up using FONTFAMILY_MODERN 2014-06-10 13:45:59 +02:00
Werner F Bruhin
3675b2caf2 - tested demo on Py33
- added a few more unittests
- corrected an indent error in demo
- added flags
2014-06-10 10:42:14 +02:00
Werner F Bruhin
ff1b98715d - unitests and demo work on Py3
- added some unittests for agw.aui
- xrange correction in aui demo
- added tags
2014-06-05 15:46:37 +02:00
Werner F Bruhin
397bfab540 - corrected and extended the unittests for persistence
- add tags
2014-06-05 12:13:00 +02:00
Werner F Bruhin
871241c66b - refactor of FloatCanvas package, unittest and demo run on Py27 and Py33 2014-06-05 11:09:18 +02:00
Werner F Bruhin
4b78726c55 - fix typo of FC_EVT_ENTER_WINDOW
- add two missing events
2014-06-03 15:19:30 +02:00
Werner F Bruhin
a0971ef719 - allow to define a 'Focus' colour as an alternative to the pulse on focus 2014-05-28 11:41:48 +02:00
Robin Dunn
86cc655950 Ensure all dataobj classes have declarations for the base class pure virtuals.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@76574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-05-18 03:25:48 +00:00
Robin Dunn
5882e525e3 Fix context manager support for wx.TheClipboard.
Add some more clipboard tests.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@76572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-05-18 03:25:31 +00:00
Robin Dunn
2c72085b43 Improve frame and app cleanup in WidgetTestCase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@76571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-05-18 03:25:22 +00:00
Robin Dunn
90ee034d74 PR #76: a few wx.lib things for Py33
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@76375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-04-19 21:26:03 +00:00
Robin Dunn
cc91914795 PR #75: some more wx.lib.agw fixes for Py33
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@76374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-04-19 21:25:40 +00:00
Robin Dunn
f6cc70ef71 PR #74: some more wx.lib.agw fixes for Py33
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@76373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-04-19 21:25:24 +00:00
Robin Dunn
b58599433d PR #73: a few wx.lib things for Py33
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@76372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-04-19 21:24:58 +00:00
Robin Dunn
55c21ec895 Add test for wx.grid.Grid.SetCellHighlightPenWidth
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@76039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-03-02 00:13:53 +00:00
Robin Dunn
726e75e766 Change wx.StatusBar.GetFieldRect to return the rectangle (for Pythonicity and Classic compatibility)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@76038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-03-02 00:13:42 +00:00