33 Commits

Author SHA1 Message Date
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
6eb5e172a9 Fix copy/paste error 2020-04-26 13:35:53 -07:00
Robin Dunn
dfe55db991 Add missing binder for wxEVT_STC_AUTOCOMP_SELECTION_CHANGE 2020-04-26 12:30:23 -07:00
Robin Dunn
9f2cc54b48 Update copyright years 2020-03-10 11:41:39 -07:00
Robin Dunn
a4a481c7f8 Set FindText.findEnd to be an output parameter 2019-06-19 16:15:38 -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
e9e3736fa0 Merge pull request #1035 from RobinD42/fix-issue961
include wxpy_api.h

(cherry picked from commit 7300aa4718)
2018-10-11 21:15:10 -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
4cbdab9e23 Added wrappers for the OSXEnableAutomaticQuoteSubstitution, OSXEnableAutomaticDashSubstitution, and SXDisableAllSmartSubstitutions methods in wx.TextCtrl. 2018-03-27 18:11:00 -07:00
Robin Dunn
ebd29bb423 Add compatibility aliases for the STC modifier keys 2018-02-10 12:55:51 -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
b378df456b Allow buffer objects in RGBImage methods in STC
Fixed StyledTextCtrl.MarkerDefineRGBAImage and RegisterRGBAImage methods to be able to accept any Python buffer compatible object for the pixel data.
2018-01-30 18:51:09 -08:00
Robin Dunn
2113333bbe Move all the EVT_ instantiations to the module object,
so they are found at the right scope in the *.pyi files.
2017-11-17 22:38:57 -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
d736044bb1 We need to ignore the native caret methods in wxSTC too 2016-06-11 22:16:27 -07:00
Robin Dunn
9a104792b7 Ignore MacCheckSpelling, it doesn't exist in wxSTC. 2016-06-11 21:31:08 -07:00
Robin Dunn
c8850ea2df Merge branch 'fix_stc_sip4.18' of https://github.com/swt2c/Phoenix into swt2c-fix_stc_sip4.18 2016-06-11 20:59:43 -07:00
Scott Talbert
9b7c2ad488 Fix stc compilation under SIP 4.18
The stc code doesn't compile under SIP 4.18.  This appears to be due to changes
in the cast_xyz function generation, but it exposed a problem in the Phoenix
implementation.  The wx interface headers say that wxStyledTextCtrl inherits
from wxTextEntry, but it actually inherits from wxTextCtrlIface.  This now
(probably rightly so) doesn't compile with SIP 4.18.  The solution is to
essentially copy the methods from wxTextEntry and wxTextCtrl, as is done for
wxSearchCtrl and wxRichTextCtrl.
2016-06-10 22:19:03 -04:00
Robin Dunn
240daf5554 Add a simple docstring for all of the main modules 2016-05-19 14:50:04 -07: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
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
eedda346d6 Merge pull request #41 from swt2c/fix_define_extraction
Fix extraction for #define's when not an integer or string
2016-03-01 22:26:05 -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
299c95c7fa Pull constants used as arg default values from core, to fix test_pi_import 2015-12-23 17:37:45 -08:00
Robin Dunn
6826af801b Fix some base classes for pi documentation files 2015-03-25 20:36:21 -07:00
Robin Dunn
e8fafd31e5 Add missing EVT_STC_HOTSPOT_RELEASE_CLICK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-01-10 05:39:34 +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
5763838e37 Don't comment out DEPENDS and other items used by the build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-11-30 22:30:13 +00:00
Robin Dunn
8c9583fdca little comment fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-11-27 01:21:49 +00:00
Robin Dunn
ec7242d7b4 More tweaks for StyledTextCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-10-27 03:16:49 +00:00
Robin Dunn
22057708b8 Fix wxSTCNameStr, add a test for stc.pi
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-10-27 03:16:29 +00:00
Robin Dunn
06b02a6277 Add wx.stc.StyledTextCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-10-27 03:16:14 +00:00