1202 Commits

Author SHA1 Message Date
Scott Talbert
92b2378548 Don't remove wxPropertyGrid virtuals when calling fixWindowClass
Fixes #1765
2020-08-13 17:25:49 -04:00
Robin Dunn
f32311e20c Update FIXME notes about the GridActivationResult issue 2020-08-07 14:38:11 -07:00
Robin Dunn
d061009b9e Add FromPNGData factory, and fix markup in some docstrings 2020-07-29 14:58:16 -07:00
Robin Dunn
428237a6f9 Add docstrings for some compatibility aliases 2020-07-29 14:58:16 -07:00
Robin Dunn
92f8cd2d55 Fix lots of misspelled words 2020-07-14 11:38:32 -07:00
Robin Dunn
bd6733afa2 Add, and ignore for now, some new things in grid 2020-07-08 16:59:11 -07:00
Robin Dunn
2e413a1c33 Fix compilation errors in glcanvas stubs 2020-07-08 09:35:42 -07:00
Robin Dunn
07941fc888 Ignore the TryActivate method for now,
some related compilation issues need to be resolved first.
2020-07-07 16:52:45 -07:00
Robin Dunn
509de11947 Add note about wx.PyApp 2020-07-07 11:33:23 -07:00
Robin Dunn
3fd90c0c97 fix typo 2020-07-06 14:19:00 -07:00
Robin Dunn
b60eaf3dc1 Merge pull request #1711 from wxWidgets/fix-issue1706
Add `IsNull()` checks for all property methods in GraphicsObject classes
2020-07-02 20:45:08 -07:00
Robin Dunn
6f1e8afcb0 Merge pull request #1710 from wxWidgets/fix-issue1701
Copy the full documentation for our custom dc.GetPixel wrapper
2020-07-02 20:44:55 -07:00
Robin Dunn
2573b6de8e Also catch the locale.Error exception 2020-07-02 16:15:03 -07:00
Robin Dunn
152a24e341 Add IsNull() checks for all property methods in GraphicsObject classes 2020-07-02 15:49:54 -07:00
Robin Dunn
78120174d6 Copy the full documentation for our custom dc.GetPixel wrapper 2020-07-02 15:29:49 -07:00
Robin Dunn
f1252484a8 Merge pull request #1697 from swt2c/windowlist_transfer
Set transfer flag on wxPGWindowList constructor and SetSecondary method
2020-07-02 15:06:42 -07:00
Robin Dunn
64b5ddd8c4 Merge branch 'wx-updates' 2020-06-29 10:33:54 -07:00
Robin Dunn
56dc1f699e Update changelog for recent changes 2020-06-29 10:08:44 -07:00
Robin Dunn
c369038ad4 Tweaks needed for new wxWidgets changes 2020-06-26 22:35:51 -07:00
Robin Dunn
41220cc9bb Don't use an f-string, in order to not break Py2.7 (yet) 2020-06-26 21:49:47 -07:00
Robin Dunn
089985a9fb Log the exception's message too 2020-06-26 13:29:00 -07:00
Robin Dunn
f67f588fb9 Update wx.App.InitLocale to be MSW-only, simpler, and maybe better 2020-06-26 12:45:18 -07:00
Robin Dunn
315789a9ec Add wxString version of wxSetLocale 2020-06-26 12:15:59 -07:00
Scott Talbert
83b96fba5c Set transfer flag on wxPGWindowList constructor and SetSecondary method
Fixes #1696.  wxPropertyGrid expects to delete both the primary and secondary
controls, so we need to prevent Python from doing so.
2020-06-25 17:43:05 -04:00
Robin Dunn
f8ced7977b Remove a hack that is no longer needed 2020-06-17 13:00:33 -07:00
Scott Talbert
e7288e6047 Add some missing private assignment operators
This is needed as part of fixing #1636 as a new version of SIP is required,
which makes these changes necessary.

(cherry picked from commit 676b95ad17)
2020-06-16 20:51:54 -07:00
Robin Dunn
346fe89ce8 minor typos and tweaks 2020-06-16 19:51:09 -07:00
Robin Dunn
139d889f25 Merge pull request #1665 from swt2c/wxvariant_longlong
Add support for longlong and ulonglong in wxVariant out helper
2020-06-16 16:55:32 -07:00
Robin Dunn
b3c5fa87b9 Merge pull request #1655 from swt2c/fix_customobj_setdata
Fix stack overflow when overriding wx.CustomObject.SetData
2020-06-16 16:43:59 -07:00
Scott Talbert
4c56d3b24e Ignore wxLongLong and wxULongLong overloads in PG interface
Fixes #1663.  With these overloads in place, EnumProperty's get created as
long long in the C++ side, which results in problems because wxWidgets expects
them to be plain longs.  Also ignore char* and wchar* overloads which are not
needed and cause problems for PyObjectProperty.
2020-06-10 15:51:36 -04:00
Scott Talbert
5e190eb42e Fix stack overflow when overriding wx.CustomObject.SetData
In the implementation of wx.CustomData.SetData, we need to check the
sipSelfWasArg variable to determine whether to call the parent class
implementation of SetData.  To do this, we switched to using addCppMethod_sip
which allows us to access the sipSelfWasArg variable.  The sip generator
stuff for CppMethod_sip needed some additions to match the behavior of
CppMethod.
2020-05-31 13:43:32 -04:00
Scott Talbert
0e0b6b72a2 Set transfer flag for subMenu in MenuItem constructor
This fixes a crash when wx.MenuItem with a submenu.  Fixes #1648.
2020-05-27 11:53:57 -04:00
Robin Dunn
cbf218d561 Stub out MSWSetTabStops for now 2020-05-14 17:04:37 -07:00
Robin Dunn
8dba98cdc3 Remove now unneeded tweak for the wxFontInfo ctor 2020-05-14 16:52:16 -07: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
06b08ecc05 Move fixDialogProperty to tweaker_tools, and use it on more property classes 2020-04-23 15:13:40 -07:00
Robin Dunn
c55a4450b6 Ensure sip sees that there is an implementation of DisplayEditorDialog in classes derived from wxEditorDialogProperty 2020-04-22 13:17:33 -07:00
Robin Dunn
260d08e32d wxGRIDTABLE_REQUEST_VIEW_GET_VALUES and wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES have been removed from wxWidgets 2020-04-17 20:18:58 -07:00
Robin Dunn
285395d9f2 Ensure that OnGetItemIsChecked is overridable in derived classes 2020-04-17 19:56:55 -07:00
Robin Dunn
e1b0435f8e Added wrappers for the wx.grid.GridBlockCoords, wx.grid.GridBlocks, and wx.grid.GridBlockDiffResult classes 2020-04-17 16:35:37 -07:00
Robin Dunn
04c82c5805 Some of the copied methods are not virtuals 2020-04-06 15:07:18 -07:00
Robin Dunn
bd6af90b41 Add CreateCompatibleAnimation 2020-04-06 14:55:45 -07:00
Robin Dunn
4dcd9a7114 Ensure animationctrl virtuals are still virtual in the wrapper classes 2020-04-06 12:50:38 -07:00
Robin Dunn
0d838c12a3 Make wxGenericAnimationCtrl derive from wxControl, and add missing methods to it. 2020-04-06 11:53:25 -07:00
Robin Dunn
1b579fc648 More updates for changes in wxWidgets animation classes 2020-04-05 18:31:09 -07:00
Robin Dunn
0af8589dff wxAnimationGenericImpl is not public 2020-04-03 14:14:12 -07:00
Robin Dunn
7aac38dbcb Updates needed for animation updates in wxWidgets 2020-04-01 15:30:27 -07:00
Robin Dunn
192577ec5a Add new animation classes 2020-03-30 15:47:01 -07:00
Robin Dunn
93f75b087c Remove TODO 2020-03-25 16:32:38 -07:00