Commit Graph

275 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
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
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
a69a655a47 Add ability to make properties from PyMethods too if suitable ones are present.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-11-02 03:36:40 +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
c3dd6b1245 Move some common stuff to a fixSizerClass function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-31 23:43:22 +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
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
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
4c3663e283 Add extracting and using of class template info
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-29 06:04:32 +00:00
Robin Dunn
8ecec6f3bf Use a new version of SIP
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-29 06:01:40 +00:00
Robin Dunn
9b7b0b65fd Remove some items that have been done.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-26 17:22:25 +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
3b14d4ded1 chdir back to the Phoenix dir before calling each command function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-26 05:22:36 +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
36e4395f88 * Add CppMethods to overload lists if there is already a matching Method.
* Look at all overloads when adding auto properties

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-26 05:21:47 +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
b3224b21e9 Mention static method wrappers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-24 18:08:36 +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
0a753ead2d Begin a few new build commands
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-22 02:29:21 +00:00
Robin Dunn
f738327be2 We can do lots more than just an app and a frame these days, so let's do more in our Hello World sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-21 21:10:23 +00:00
Robin Dunn
759dd1d6c9 Use pushDir
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-21 21:08:14 +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
470c088a85 * Add the pi generator (for "Python Interface" files used by WingIDE and maybe others.)
* Some improvements in docstring generation
* refactor and shuffle some code around

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-21 08:09:26 +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
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
143b1ecb58 * Refactor the code that post-processes the code output by SIP to a separate function so it can be used in more than one place.
* Check for the presense of a msgfmt command before trying to rebuild the message catalogs

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-20 19:27:21 +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
c451dcc6ca Set PYTHONUNBUFFERED for the child processes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-16 04:19:44 +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