Robin Dunn
92f8cd2d55
Fix lots of misspelled words
2020-07-14 11:38:32 -07:00
Robin Dunn
9f2cc54b48
Update copyright years
2020-03-10 11:41:39 -07:00
Robin Dunn
3c9f134f1d
Actually insert the RecalcSizes method into the class
2019-09-13 12:34:47 -07:00
Robin Dunn
5d078557bf
Lots of updates to get caught up with wxWidgets master (3.1.3+)
2019-05-23 21:43:40 -07:00
Robin Dunn
b77c88a280
Merge tag 'wxPython-4.0.2' into wxPy-4.0.x
...
(cherry picked from commit 4c56c39e52 )
2018-06-17 22:04:22 -07:00
Robin Dunn
38624123f5
Since they're now raising DeprecationWarnings in 4.0.2 we can drop some method compatibility wrappers here.
2018-02-20 08:50:30 -08:00
Robin Dunn
96e7fdc53d
Merge branch 'master' into 4.1-first-pass
2018-02-13 19:04:38 -08:00
Robin Dunn
50a6410c87
Add deprecation wrappers for methods that have vanished from wxWidgets due to the 2.8 compatibility flag being turned off.
2018-02-09 14:30:49 -08:00
Mesalu
62a84b8c1d
Fix silly little mistake
2018-02-08 22:45:05 -08:00
Mesalu
3bf04aa771
Add iterability to sizer classes and corresponding unittest
2018-02-08 21:25:49 -08:00
Robin Dunn
4e38994944
Update copyright in etg
2017-02-13 16:14:55 -08:00
Metallicow
ebc8d0d971
trim trailing space etg directory
2016-11-10 12:08:36 -06:00
Robin Dunn
cb701bd77e
Reinstate the size_t MappedType with compile-time bit size checking
...
Replace the use of size_t in custom code with ulong so SIP doesn't try to use the MappedType there (it only uses pointers for them.)
2016-03-04 21:05:46 -08:00
Robin Dunn
4b2fc7f330
Add __nonzero__ for wx.Sizer. Closes #15470
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@77978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-10-08 04:33:51 +00:00
Robin Dunn
35fd2e16bf
Update copyright year
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-01-21 02:13:03 +00:00
Robin Dunn
5ab8e42542
Ensure that functions that return our wxList wrappers are not creating a copy of the list, but rather using the one given to them. This is really only needed for those that are const methods, but I did it for all in case the C++ signature is changed to const.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-29 02:33:43 +00:00
Andrea Gavana
66840744d2
Phoenix: few corrections to the overviews; Added some more contributed snippets; Fixed some more converted snippets; Added the correct interlink references in the etg files; better handling of the Doxygen stuff.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-05 20:44:52 +00:00
Robin Dunn
9d79e123fa
Tweak the deprecation warnings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-11 05:02:43 +00:00
Robin Dunn
d0d0f7b8e5
Allow spacers to be set as a wx.Size
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-11 04:25:25 +00:00
Robin Dunn
aebd862d14
Provide hints for deprecated items about what should be used instead.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-10 05:15:17 +00:00
Robin Dunn
e4979407ba
There is already a Hide C++ method, no need to add a Python implementation anymore.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-01-03 23:13:13 +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
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
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
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
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
e44dd28fd4
* Replacing method code with .setCppCode is now not SIP-specific. The generated code creates a new function to place the code in, like CppMethodDef does, so the given code can use 'self' and return values instead of using special SIP variables.
...
* added setCppCode_sip for when SIP-specific stuff is needed.
* Adding the 'const' on to const methods had somehow been forgotten, fix that.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-25 04:06:16 +00:00
Robin Dunn
91a404fd22
FIx the %Extract used in the wxListWrapper and wxArrayWrapper templates to include the module name
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-18 04:40:55 +00:00
Kevin Ollivier
fdb9319c3e
Adding several new classes, some transfer annotations, and a start on a dataview model (compiles but is still a work in progress).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-16 05:15:38 +00:00
Robin Dunn
d949d1dad1
* Update version number
...
* Since they are almost always needed for window classes, move the calls to
removeVirtuals and addWindowVirtuals into the fixWindowClass and
fixTopLevelWindowClass functions.
* Add wxWithImages to the interface headers and create wrappers for it and use
it as a base of wxBoockCtrlBase.
* Add a new wx.deprecated() function that can handle properties and classes in
addition to callables. It issues a custom warning, wxPyDeprecationWarning
since the stock DeprecationWarning is filtered out by default in Python 2.7.
* Deprecate PyWindow and similar aliases
* Deprecate wx.Window.SetDimensions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-11 00:33:10 +00:00
Kevin Ollivier
60d9ea15f6
More updates for Phoenix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-09 15:46:56 +00:00
Kevin Ollivier
49fda7ada4
Add automatic class property generation, add support for defines, remove layout constraints from the build as they appear not to be generated with the docs for me, and add wrappers for a bunch of classes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@68963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-08-30 15:39:33 +00:00