Commit Graph

954 Commits

Author SHA1 Message Date
Robin Dunn
1cb20c254e Merge pull request #1406 from wxWidgets/add-useseventloop
Don't ignore UsesEventLoop

(cherry picked from commit e2eb035b23)
2019-10-22 20:04:22 -07:00
Robin Dunn
e2be299412 Merge pull request #1398 from wxWidgets/python-3.8
Changes needed for Python 3.8

(cherry picked from commit ec1600d2cd)
2019-10-21 22:08:26 -07:00
Robin Dunn
c1867aef8d Merge pull request #1352 from wxWidgets/getapp-issue1126
Remove tracking of application instance in wxPyApp

(cherry picked from commit 574049d7cf)
2019-09-13 14:03:20 -07:00
Robin Dunn
ec761b32f5 Merge pull request #1348 from wxWidgets/fix-issue1342
Keep a reference to the data parameter in wxFindReplaceDialog ctor

(cherry picked from commit 034ae9a775)
2019-09-13 14:03:20 -07:00
Robin Dunn
a2449bdf65 Merge pull request #1347 from wxWidgets/errcheck-virtual-methods
Check for Python errors upon return from overloaded virtual methods

(cherry picked from commit 0e817cee59)
2019-09-13 14:03:20 -07:00
Robin Dunn
fbc2e9875e Merge pull request #1301 from wxWidgets/fix-overlay-crash
Fix overlay crash

(cherry picked from commit de4d1d811a)
2019-09-13 14:03:19 -07:00
Robin Dunn
4fd3b4e55d Various updates needed to fix builds with sip 4.19.16 2019-04-13 16:32:05 -07:00
Robin Dunn
f9cd6bdb3c Set wxVisualAttributes members as read-only (no setter) and make copies of the member objects in the getter 2019-04-13 13:56:16 -07:00
Robin Dunn
877c4f7642 Better implementation to ensure all window classes have a GetClassDefaultAttributes and that they are marked mustHaveApp 2019-04-13 13:54:34 -07:00
Robin Dunn
938fc157b3 Add info about wx.NewIdRef to MigrationGuid, and update OnHTMLOpeningURL section too.
(cherry picked from commit fd1c26d2e1)
2019-02-12 18:52:25 -08:00
Robin Dunn
b0436ce02e Fix the use of the output parameter in HtmlWindow.OnOpeningURL the same way
it was fixed in HtmlWindowInterface.OnHTMLOpeningURL.
2019-02-12 15:30:18 -08:00
Robin Dunn
c3cbf2e68a Merge pull request #1143 from RobinD42/fix-issue1140
Added missing setters for the wheel-related properties in wx.MouseEvent
2019-01-15 16:00:01 -08:00
Robin Dunn
5abd2c67f1 Added missing setters for the wheel-related properties in wx.MouseEvent 2019-01-15 15:21:23 -08:00
Robin Dunn
f84ae3f5a2 Added missing HtmlWindow.ScrollToAnchor method,
and also a couple methods in HtmlCell too.
2019-01-15 15:20:50 -08:00
Robin Dunn
4d50f773ab Merge pull request #1130 from swt2c/fix_joystick_stubs
Fix joystick stub compilation
2019-01-15 15:15:16 -08:00
Scott Talbert
0c0437b18d Fix joystick stub compilation
Fixes #1125
2019-01-07 08:41:49 -05:00
Robin Dunn
02c06475f5 Generate optional stubs for the wxFileSystemWatcher* classes 2019-01-03 21:57:06 -08:00
Robin Dunn
1783ea6fd1 Use pointers for the parameter types 2018-12-31 14:09:58 -08:00
Robin Dunn
5c17aabf3a Added missing methods in wx.ListBox, SetItemForegroundColour, SetItemBackgroundColour and SetItemFont. 2018-12-31 12:35:50 -08:00
Robin Dunn
af7f52b640 Add Enabled property for wx.MenuItem 2018-11-01 17:06:21 -07:00
Robin Dunn
b0dc159cdd Fixed the wrappers for wx.html.HtmlWindow.OnOpeningURL 2018-10-31 17:32:24 -07:00
Robin Dunn
6865d2ea69 Transfer ownership of the wx.aui.AuiNotbook.SetArtProvider art parameter. 2018-10-29 20:03:05 -07:00
Robin Dunn
704bb8a301 Ensure sip knows the pure virtuals are present in wx.html.HtmlPrintout 2018-10-29 19:39:28 -07:00
Robin Dunn
b79a21779b Use the new tools.generateStubs tool for the wxJoystick stub 2018-10-25 15:07:37 -07:00
Robin Dunn
671663b76f Add missing GetMax* methods 2018-10-25 14:46:26 -07:00
Robin Dunn
0bb75d424d Ensure all data goes into MemoryFSHandler files as utf-8 data 2018-10-15 14:59:40 -07:00
Robin Dunn
1fa3908466 Add a __bool__ for every __nonzero__ that doesn't already have one
(cherry picked from commit 229870f9c9)
2018-10-12 23:59:28 -07:00
Robin Dunn
d9b25fdc80 Move wxpy_api.h to wx/include/wxPython, so it will be included in the wheel 2018-10-11 12:15:37 -07:00
Robin Dunn
3a9f37f2aa Merge pull request #1034 from RobinD42/fix-issue958-291-wxAccessible
Add wxAccessible and a tool to generate C++ stubs
2018-10-11 10:30:09 +08:00
Robin Dunn
ea5c502498 Generate stubs for glcanvas, mediactrl and webview 2018-10-10 18:06:01 -07:00
Robin Dunn
8fd9ffbb74 Don't let sip try to make copies of wxAccessible 2018-10-10 13:32:08 -07:00
Robin Dunn
c332fbcf03 Mark output parameters 2018-10-10 10:38:03 -07:00
Robin Dunn
bdede34184 Use generateStubs() 2018-10-09 20:36:03 -07:00
Robin Dunn
a5309525da First pass on adding support for wxAccessible 2018-10-08 21:12:43 -07:00
Robin Dunn
8386a0e6c7 Use the position returned from InsertItem, in case the listctrl is sorted and the item is moved to some other location. 2018-10-05 14:24:39 -07:00
Robin Dunn
b927820d93 Mark wx.FileSystemHandler.OpenFile as a factory function
so the ownership is transferred correctly.
2018-10-03 22:20:51 -07:00
Robin Dunn
8f07ca5c28 wxRealPoint::operator* truncates to int before assigning to the new point
object, which seems dumb. So let's make our own implementation which
preserves the floating point result.
2018-09-25 12:42:22 -07:00
Robin Dunn
f170a77808 Merge branch 'double_scalar_vector_arithmetic' of git://github.com/mesalu/Phoenix into mesalu-double_scalar_vector_arithmetic
(cherry picked from commit 0e87fb0efa)
2018-09-25 11:41:43 -07:00
Robin Dunn
13c45c37bf Dereference the dc pointer, otherwise the void* overload will be called which apparently fails silently. 2018-09-12 19:49:37 -07:00
Robin Dunn
1b119f6add Use delete[] to satisfy compiler warning 2018-08-30 10:39:39 -07:00
Robin Dunn
1d7bb401ff Expose wx.StaticBox.GetBordersForSizer 2018-08-29 21:54:50 -07:00
Robin Dunn
4cb781e410 Merge pull request #955 from mesalu/fix_954
Fix 954
(cherry picked from commit 848b43b96d)
2018-08-07 19:40:50 -07:00
Robin Dunn
b297b5523e Merge branch 'mesalu-fix_384'
(cherry picked from commit 6b1b095db2)
2018-08-04 18:15:10 -07:00
Robin Dunn
9577c312fd Add wx.Listbook.GetListView 2018-07-20 17:00:38 -07:00
Robin Dunn
d395f960f3 Removed the wx.BookCtrlBase.RemovePage workaround 2018-07-19 18:54:07 -07:00
Robin Dunn
d82b5a6e65 Merge branch 'wxPy-4.0.x' into fix-issue918 2018-07-17 20:16:27 -07:00
Robin Dunn
8e14cac164 Added wx.Treebook.GetTreeCtrl and wx.Choicebook.GetChoiceCtrl 2018-07-17 20:11:33 -07:00
Robin Dunn
e32e36dd1a Mark wx.Menu.Insert.submenu with the transfer annotation 2018-07-17 14:14:51 -07:00
Robin Dunn
ada7b2fc51 Merge branch 'more-windowidref' into wxPy-4.0.x 2018-06-25 19:10:56 -07:00
Robin Dunn
8a53aa610b Add comparison and hash operators to wx.WindowIDRef 2018-06-25 09:44:02 -07:00