Andrea Gavana
ca4746f13c
- Initial commit of the Python scripts to ReSTify the XML documentation.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-30 19:17:09 +00:00
Robin Dunn
7b064bc226
Need an explicit #include to avoid compile errors. Not sure why it isn't using the one it the %TypeHeaderCode...
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-30 19:00:41 +00:00
Robin Dunn
289f118d09
Move more Python code to extractor objects.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-22 18:46:45 +00:00
Robin Dunn
2460ebef3c
Move event related PyMethods and PyClasses out of the external code block and into extractor objects so the generators know their details.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-22 17:43:47 +00:00
Robin Dunn
d07f438612
Add wxLogFormatter
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-22 17:41:56 +00:00
Robin Dunn
4337dbb04e
No need to have both __nonzero__ and operator bool.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-22 01:22:55 +00:00
Robin Dunn
01c3c738a6
Don't use the method name in the pyArgsString
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-22 01:22:25 +00:00
Robin Dunn
a993a8b2ed
Change names of "from" parameters since it is a reserved word.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-22 01:22:00 +00:00
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
5452fdab46
Minor tweaks and fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-19 20:58:03 +00:00
Robin Dunn
fd71827916
Ignore all global operator functions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-19 20:56:36 +00:00
Robin Dunn
9912e33123
* Add PyFunctionDef and PyClassDef extractor classes, which can be used for defining pure python functions and classes instead of just including them as blocks of text. This way the meta-data is preserved so it can be used by generators such as the sphinx generator.
...
* Implement wx.CallAfter and wx.CallLater this way for the initial test cases.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-15 02:36:01 +00:00
Robin Dunn
06a7072ddf
docstring fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-10 04:36:51 +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
1f91b5be03
a bit of cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-02 20:04:41 +00:00
Robin Dunn
ef5d0980e2
The deprecation of SetSizeWH is already handled, no need to do it again
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-02 01:07:06 +00:00
Robin Dunn
211bec4441
Some cleanup and fixes for const-ness related things
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-02 01:05:50 +00:00
Robin Dunn
a9cecfff46
The new SIP lets us use the wxScrolled template as-is, not need to turn it into fake wxScrolledWindow and wxScrolledCanvas classes anymore.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-02 01:05:01 +00:00
Robin Dunn
18c749c40e
Add eventfilter
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-02 01:02:18 +00:00
Robin Dunn
617698bcd3
some minor fixes for wxIcon
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-11-24 01:41:37 +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
5be76ec3e4
minor tweaks
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-11-17 03:58:12 +00:00
Robin Dunn
3e72b29f7d
Add wxIcon, wxIconBundle, wxIconLocation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-11-17 03:32:54 +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
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
b34ac35661
Add wxLogGeneric
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-11-10 23:36:36 +00:00
Robin Dunn
535192fda4
Reorganize _core a bit, and move the larger C++ code blocks to a .cpp file.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-11-10 02:43:53 +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
Kevin Ollivier
43d302c0eb
Add PyScrolledWindow typedef for Phoenix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-11-08 01:51:44 +00:00
Robin Dunn
6c16e963f2
a little cleanup and window handle methods
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-11-05 04:39:32 +00:00
Robin Dunn
1a02e48619
Clone is a factory
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-11-05 04:38:48 +00:00
Robin Dunn
f519d77aba
Provide an implementation of SetMaxWidth on Windows
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-11-05 04:37:38 +00:00
Robin Dunn
c321977e23
Compile fix on Windows
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-11-05 04:36:59 +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
2f8c6383dc
Woraround warning for auto property starting with a digit, and give it a new name
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-11-03 04:39:15 +00:00
Robin Dunn
c360303c89
Don't complain about lack of unittest modules for tracker and withimage
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-11-02 23:44:55 +00:00
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