Commit Graph

734 Commits

Author SHA1 Message Date
Robin Dunn
1731568c7b Add wxPosition and variable scrolled windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-22 01:18:43 +00:00
Robin Dunn
6f9276360c Add PopupWindow and TipWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-19 20:59:32 +00:00
Robin Dunn
a09e00e539 We have stream support now, reenable those tests.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-19 20:58:34 +00:00
Robin Dunn
29db1ae9bd Disabled part of a test on MSW, added a TODO to figure out if it's really a bug or not.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-10 04:37:48 +00:00
Robin Dunn
db885e8ab0 Add GridBagSizer and related classes, and some transfer fixes in wxSizer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-10 04:36:21 +00:00
Robin Dunn
3ab334932e renamed wx.PyAssertionError
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-03 01:00:44 +00:00
Robin Dunn
9497ff98b9 SIP handles raising an eception for dead objects for us. Add a __nonzero__ and some tests to go along with it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-02 23:34:10 +00:00
Robin Dunn
58939ed762 Add new and improved wxInputStream and wxOutputStream support.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-11-24 01:40:18 +00:00
Robin Dunn
1b1abbc360 Test asserts and virtual method overrides
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-11-17 03:51:56 +00:00
Robin Dunn
7944d9464f Add wxIcon, wxIconBundle, wxIconLocation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-11-17 03:29:37 +00:00
Robin Dunn
79f16f2e93 Avoid an assert. This test can be exended when wxIcon is wrapped.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-11-10 23:55:47 +00:00
Robin Dunn
e882826b13 Add wxConfigPathChanger and make it be a context manager
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-11-10 23:51:58 +00:00
Robin Dunn
5ce7a1ffb4 Add tests for stockgdi.sip
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-11-10 02:44:23 +00:00
Robin Dunn
8f8c7a3d43 Add the ability to raise a wx.PyAssertionError when a wxASSERT (or other similar debug macros) fail. To do this support for the /RaisesPyException/ annotation is added, but it defaults to turned on for every function or non-ctor method.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-11-10 02:43:05 +00:00
Robin Dunn
2bc5095e22 new unittests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-11-05 04:45:32 +00:00
Robin Dunn
8365277cc7 * Rename togglebtn -->tglbtn
* Add wxBitmapToggleButton
* Add wxAnyButton

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-11-04 03:39:38 +00:00
Robin Dunn
b9862e5e54 * Support both overloads of HitTest.
* Split out textentry and textcompleter to match interface headers
* Add unittests

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-11-04 01:35:56 +00:00
Robin Dunn
c301c5115b Add impl for MSWGetShellDir and add unittest
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-11-03 06:36:25 +00:00
Robin Dunn
cc4fd1b638 Forgot to import os
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-11-03 04:39:30 +00:00
Robin Dunn
c63e94fe0d Fix typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-11-03 03:24:19 +00:00
Robin Dunn
40e240c570 Add basic unittests for statbmp, statline stattext and statusbar modules
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-11-02 23:44:23 +00:00
Robin Dunn
9ac44b18ea Add wxSplitterEvent, the event binders, and unittests. Also ignore the virtuals that duplicate event functionality.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-11-02 06:31:13 +00:00
Robin Dunn
5f6616816a Add unittests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-11-02 03:44:10 +00:00
Robin Dunn
987e39ae45 Lots of updates for Sizers:
* Add wxStaticBoxSizer
* Add the AddMany and other convenience methods from Classic
* properly handle the userData args for the sizer methods too
* some refactoring
* Add unittests

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-31 23:53:58 +00:00
Robin Dunn
87d042dac9 Add statbox and wrapsizer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-31 23:42:26 +00:00
Robin Dunn
6855da55e4 * Rename searchctrl --> srchctrl.
* Add missing and MSW-only methods
* Add event types and binders
* Add unittests

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-29 21:33:43 +00:00
Robin Dunn
c39d88aeaa Process and wxScrolledWindow/Canvas unittests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-29 06:11:08 +00:00
Robin Dunn
12dd81613c add more unit tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-26 05:23:00 +00:00
Robin Dunn
54520f7a3a Make the new wx.PlatformInfo able to act like a seqeunce containing the same strings as the Classic wx.PlatformInfo. Add unit tests.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-24 18:27:37 +00:00
Robin Dunn
c14d84f3ee Add tests for wx.Notebook and wx.Panel
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-22 02:30:11 +00:00
Robin Dunn
1917331604 FIxup msgdlg tweaks and add unittests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-21 21:07:31 +00:00
Robin Dunn
e9c9ba13f4 Provide implementations for the MSW-only methods, add unittests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-21 08:04:22 +00:00
Robin Dunn
d6d6d15ad4 Use the wxCArrayHolder to implement SetDashes, add unittests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-21 08:03:34 +00:00
Robin Dunn
46913dc22c * Add some deprecated methods for compatibility.
* Add some properties
* Add GetMenus/SetMenus to wx.MenuBar
* Add a few unittests

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-18 19:22:55 +00:00
Robin Dunn
dea169304b Build the wx message catalogs as part of build_wx command, add code to add the catalog dir when wx is imported, and re-enable the unittest that verifies message translation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-18 19:18:11 +00:00
Robin Dunn
edc04b2823 Add various bits of pixie dust, magic, and unittests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-16 04:17:50 +00:00
Robin Dunn
640f22a259 Add Classic's enhancements to image and add unittests. Still need to add buffer and stream support.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-14 06:40:40 +00:00
Robin Dunn
8fd86c8857 Add Classic's enhancements to headercol, and add some unittests for it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-14 01:27:22 +00:00
Robin Dunn
d06ebbe4e2 another test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-13 06:45:20 +00:00
Robin Dunn
160ded4290 added unittests for frame and gauge
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-13 06:37:01 +00:00
Robin Dunn
4f675b544c Lots of enhancments and additions for wxGraphics classes. Added unittests too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-13 06:36:10 +00:00
Robin Dunn
d1bdbd0155 Test dc.DrawLines to check PySequence --> wxPointList conversion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-12 21:32:28 +00:00
Robin Dunn
e2f4f745f0 little tweaks and fixes for linux
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-11 00:41:10 +00:00
Robin Dunn
a11f9e73e1 cleanup commented out code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-11 00:40:03 +00:00
Robin Dunn
25c3e80700 new unittests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-09 07:47:33 +00:00
Robin Dunn
e868502a7b typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-09 07:47:19 +00:00
Robin Dunn
a4847191f8 Put the postscript DC into wx.PRINT_MODE_FILE mode to avoid asserts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-04 21:40:52 +00:00
Robin Dunn
019fd15013 Fix some typos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-04 21:39:16 +00:00
Robin Dunn
8171e9d81a Add and update DC unittests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-04 08:12:54 +00:00
Robin Dunn
5204b0f739 Switch to using wtc.WidgetTestCase so there is a wx.App while this test is run
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-02 05:37:33 +00:00