Commit Graph

134 Commits

Author SHA1 Message Date
Kevin Ollivier
7ba781acb8 Update the callback to use the new name.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-11-02 21:57:45 +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
b0192d8b09 Add spinbutt module containing wxSpinButton and wxSpinEvent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-11-02 03:43:50 +00:00
Robin Dunn
066beca8ec Add GetRange
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-11-02 03:43:06 +00:00
Robin Dunn
7bd92f875c Adjust to match Classic, add GetRange
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-11-02 03:42:44 +00:00
Robin Dunn
2f00f9d0b4 Add wxSpinCtrlDouble, wxSpinDoubleEvent, SetMin, SetMax and event binders.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-11-02 03:38:45 +00:00
Robin Dunn
142b6de69b Use pointer parameters for CppMethods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-11-02 03:37:41 +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
88e378b612 just a bit of cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-29 21:33:52 +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
a0d8470ec4 Fix the order that the iterator fetches rectangles from the region
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-29 06:10:12 +00:00
Robin Dunn
28b98e742f Set output parameters for the methods that need it, keep the virtual flag for OnDraw, add wxScrolledCanvas, and etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-29 06:07:48 +00:00
Robin Dunn
f3a457f146 a little cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-26 05:22:01 +00:00
Robin Dunn
7a7c9c3cd7 Add iterator protocol methods, fixed up the ctor taikng an array of points
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-26 05:12:58 +00:00
Robin Dunn
d92187947f Add a few extras from Classic
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-26 05:02:25 +00:00
Robin Dunn
6b3f116569 rename radiobtn
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-26 04:55:14 +00:00
Robin Dunn
e26a3ebaee Move the Point2D_helpers code into a template function so it can be used for other types too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-26 04:48:04 +00:00
Robin Dunn
f2864fdc05 Update to latest SIP dev snapshot, and remove the BLACK hack that is no longer needed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-24 21:48:30 +00:00
Robin Dunn
766baba0a6 M0ve the call to addAutoProperties into the doCommonTweaks function, but make it not generate the auto properties if there are already properties in the class or the class explicitly clears the alllowAutoProperties flag, turning it off.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-24 21:35:29 +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
08e30cffd3 Fix typos causing compile errors in MSW specific code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-21 18:17:58 +00:00
Robin Dunn
1cb2d49c5b Provide implementations for the MSW-only methods, add unittests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-21 08:04:12 +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
1f4d1451f2 Use a template for the C array holder class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-21 08:01:35 +00:00
Robin Dunn
5ffc5d8681 Ensure that custom C++ implementations that create a new instance for the return value are marked as Factories.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-21 07:59:10 +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
8cc19047f3 Rename imagelist to imaglist to match wx headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-16 04:15:45 +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
ee1f7f2548 Rename addGetterSetterProps --> addAutoProperties
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-13 19:04:40 +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
a87c196def Instead of passing sipIsErr into custom functions made for CppMethodDefs and etc. just check PyErr_Occurred after the function returns and then set sipIsErr there.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-13 04:58:46 +00:00
Robin Dunn
2822bb2cd7 Add ConvertToTypeCode for wxPointList
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-12 21:31:09 +00:00
Robin Dunn
39c6582eed Add a more specific TODO for DrawPolyPolygon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-12 21:30:34 +00:00
Robin Dunn
8124a196b0 Update to newest sip snapshot, which supports the Transfer annotation on Array annotated parameters.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-12 21:22:18 +00:00
Robin Dunn
4cbd63dc09 no need for unittests for these files, their child classes will do enough testing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-12 20:12:06 +00:00
Robin Dunn
d1ce50b946 Add wxGraphicsBitmap and wxNonOwnedWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-11 05:43:49 +00:00
Robin Dunn
0be648f444 Change all the color default value for all CreateFonts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-11 05:09:39 +00:00
Robin Dunn
007a98d927 Add my name to etg scripts that I've significantly modified.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-11 00:41:53 +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
ef18cfac2f Use wxStringArrayHolder to hold a copy of the array of filenames and pass that to wxDropFilesEvent. The holder will delete the array later after the event object is deleted.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-09 07:46:34 +00:00
Robin Dunn
11a1fa830e Other unittests use an event loop, so no need to have dedicated tests for it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-09 07:42:03 +00:00
Robin Dunn
6e1e506fd1 Clean up some commented out code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-09 07:36:05 +00:00
Robin Dunn
dd566ba703 Tweak GetFilenames and GetPaths
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-09 07:28:22 +00:00
Robin Dunn
425b7202fd Add __nonzero and wxArrayVideoModes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-09 07:27:39 +00:00