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
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
4924ed5ccd
Removing leading whitespace from %Docstring items has been done for a while now.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-14 01:29:41 +00:00
Robin Dunn
7ac7596aaa
Add support for nested classes to the extractors and sip_generator
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-14 01:28:32 +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
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
e5497d469e
Removed a few things that are done
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-13 06:37:17 +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
eae4ace88a
Add a holder class for integer arrays too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-13 04:59:23 +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
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
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
94319dcd95
* add changeTypeNames to manipulate all items in a module changing typeA to typeB
...
* Fix the convertFoo templates to try using an exising object first, and then converting from a sequence. This saves time and also possible object leaks.
* Enable optionally adding ConvertToTypeCode to wxListWrapperTemplate
* Clean up and simplify wxArrayWrapperTemplate
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-12 21:27:43 +00:00
Robin Dunn
acd9efe43a
Skip ArraySize args in the pyArgsString, and deal correctly with inOut args
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-12 21:23:31 +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