54 Commits

Author SHA1 Message Date
Scott Talbert
2c6307142f Update sip to v6.8.3 and fix deprecations 2024-02-12 23:20:17 -05:00
Scott Talbert
aa1ef7bd75 Update ETG scripts to support wxWidgets 3.1.6 functionality
Fixes #2136.
2022-05-02 22:33:58 -04:00
Robin Dunn
c78823549b Ensure time_t is treated as a 64-bit value by SIP 2021-01-29 13:34:10 -08:00
Robin Dunn
9f2cc54b48 Update copyright years 2020-03-10 11:41:39 -07:00
Robin Dunn
f93e835c68 The wx.WS_EX_VALIDATE_RECURSIVELY extended style flag is obsolete 2019-06-28 23:08:49 -07:00
Robin Dunn
5ee7052904 Build fixes for MSW 2018-02-10 19:23:07 -08:00
Robin Dunn
87d7edab83 Lots of changes needed to get things building again after switching to wxWidgets master 2018-02-09 15:15:01 -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
Scott Talbert
fefc7c59b0 Add wrapper and unittests for wxPalette 2016-08-04 20:47:58 -04:00
Robin Dunn
c96d31f919 Instead of hacking the generated C++ after the fact,
generate the sip code a little differently for the int tricky constants,
and add some tests.
2016-05-07 01:27:28 -07:00
Robin Dunn
ea3f3d40bd Merge branch 'fix_defines_better' of https://github.com/swt2c/Phoenix into pr45-alternate 2016-05-07 00:30:31 -07:00
Robin Dunn
e69accaa9f * Deal with wxIntPtr and wxUIntPtr with a typedef (for now?)
* Add wacky_int tests
* Some cleanup
2016-03-08 22:49:57 -08:00
Scott Talbert
3634414c50 Rework fix for #define type extraction
A user running 32-bit Windows reported a problem with wx.VSCROLL after my
changes in aa0be27.  It is likely some integer conversion is not happening
correctly between C++ and Python.  To resolve this, convert the #defines that
are using standard WX 32-bit values back to int and instead insert casts into
the SIP generated cpp code to resolve the C++11 compilation errors.
2016-03-08 00:07:55 -05: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
2c0ba84396 size_t experiments 2016-03-04 14:51:59 -08:00
Robin Dunn
e149428a0e Some additional notes about the bitness problem 2016-03-04 14:39:48 -08:00
Scott Talbert
aa0be2719e Fix extraction for #define's when not an integer or string
Some #define values fall outside the range of int, so we need to override the
types.
2016-03-01 22:50:19 -05:00
Robin Dunn
505ce0e43e Be a little smarter about what types to use for wx[U]IntPtr
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-02-06 08:04:51 +00:00
Robin Dunn
7d0f393c5f Switch to a 3 component+tag versioning scheme instead of the 4 component scheme used by Classic.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-01-02 01:47:27 +00:00
Robin Dunn
911f823333 Deal with object IDs that are larger than 2**63
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-12-02 20:10:15 +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
9f984eb91c Add wxADJUST_MINSIZE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-22 08:00:53 +00:00
Robin Dunn
2ba7d71620 Add wx.Caret
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-06-18 02:14:50 +00:00
Robin Dunn
95fac68451 Add wxDropSource and wxDropTarget
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-03 23:30:43 +00:00
Robin Dunn
18098181e3 Add buffer related methods and helpers for wxBitmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-28 04:05:08 +00:00
Robin Dunn
e8e932aade * Fix image ctors that accept data buffers to check the size of the buffer
* Do the same for the Create, SetData and SetAlpha methods
* Replace the GetData and GetAlpha to return copies of the buffer as in Classic
* Add GetDataBuffer, GetAlphaBuffer, SetDataBuffer, SetAlphaBuffer methods
* Add wxImageHandler

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-26 01:29:35 +00:00
Robin Dunn
79047b78a6 Add some of the HelpController classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-07 04:17:28 +00:00
Robin Dunn
9ddc80004b Add context help classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-07 04:17:13 +00:00
Robin Dunn
a0e072688a Remove our wxPrintQuality typedef
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-10 19:56:37 +00:00
Robin Dunn
7409208cd7 Add toolbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-10 00:13:55 +00:00
Robin Dunn
be09c0e1f8 Add longlong and datetime
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-02 21:53:10 +00:00
Robin Dunn
a0c2778adf Add filesys
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-27 23:52:18 +00:00
Robin Dunn
937bbbc172 fix size_t typedef, don't use wx prefix on BG_STYLE_CUSTOM alias
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-09 05:47:26 +00:00
Robin Dunn
497e10bd43 Add wrappers for the NameStr globals and a few other tweaks to get the code in core.pi to be valid
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-01-04 05:57:19 +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
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
5bf38a1a26 Add aliases for the old font, pen, brush, etc. flags.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-04 07:57:20 +00:00
Robin Dunn
f59dec27fb moved a typedef
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-02 05:33:52 +00:00
Robin Dunn
2bf117be7f dont complain about the lack of a unit test for this one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-20 04:40:53 +00:00
Kevin Ollivier
1aa87b9104 Another batch of new classes. With this, aside from wxRadioBox since it still has the ambiguous base issue for GetDefaultBorder, all the wxPython Classic unittest suite runs, and impressively, pretty much just reports missing methods (maybe undoc'ed or Classic-only ones) and a couple missing bits like PyAssertionError.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-18 16:37:38 +00:00
Robin Dunn
4a563ed809 Move wxFontMetrics from font.py to dc.py since that is the interface file it is located in.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-18 04:42:10 +00:00
Robin Dunn
1a3be187ea * Suppress the unittest warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-15 16:13:19 +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
Robin Dunn
04f10c5868 Update Phoenix copyright statements to 2011
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@68978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-03 01:52:23 +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
Robin Dunn
ca6859b831 Add a tool that generates a wrapper around a wxList derived class, such as wxWindowList.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@66507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-12-31 18:31:29 +00:00
Robin Dunn
53b1694757 cleanups and tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@66466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-12-27 18:59:28 +00:00
Robin Dunn
212f1ff9f0 Gobs and gobs of changes, and tons of progress made. Can now create a wx.App, show a wx.Frame, run the MainLoop, bind event handlers and dispatch the events to the handler! YeeHa!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@66393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-12-17 08:08:24 +00:00