Commit Graph

938 Commits

Author SHA1 Message Date
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
Robin Dunn
3e88095c53 Fixed issue when sys.prefix is not unicode (Python2) and when its contents are not translatable to utf-8. 2018-06-25 09:42:55 -07:00
Robin Dunn
97a95ab29c Reorder the text a bit. 2018-06-24 20:45:55 -07:00
Robin Dunn
087022b519 Say why wx.NewIdRef is better. 2018-06-24 20:42:17 -07:00
Robin Dunn
36fa818f2f Replace the deprecation text for wx.NewId 2018-06-24 20:40:36 -07:00
Robin Dunn
06f5361ed7 Fix typo 2018-06-24 15:04:32 -07:00
Robin Dunn
d9df2b552c Add the wx.NewIdRef function 2018-06-24 14:17:16 -07:00
Robin Dunn
275d8efb86 Add wrapper for the wxWindowIDRef class 2018-06-24 14:17:16 -07:00
Robin Dunn
b410f5e570 Update copyright years --> 2018 2018-06-06 10:59:51 -07:00
Robin Dunn
1da103f7f4 Add missing wx.adv.EVT_CALENDAR_WEEK_CLICKED 2018-06-04 21:06:50 -07:00
Robin Dunn
0684210f63 Set in variant parameter in all PGProperty.StringToValue and IntToValue as output parameter 2018-06-04 15:41:52 -07:00
Robin Dunn
d7a546545e Fix the virtual dispatch code for the PGEditor.GetValueFromControl 2018-06-04 15:40:47 -07:00
Robin Dunn
63841e478d Add a wx.GraphicsContext.Create overload for wx.AutoBufferedPaintDC,
and let the C++ compiler sort out whether it is really a wxPaintDC or a wxBufferedPaintDC.
2018-05-31 16:21:12 -07:00
Robin Dunn
3967062124 Transfer ownership of clientData objects in wx.dataview.DataViewTreeCtrl 2018-05-16 16:29:24 -07:00
Robin Dunn
d723c2cabf Add deprecation place-holders for wx.msw.Metafile and MetafileDC 2018-05-07 08:10:34 -07:00
Robin Dunn
3aa61bbd3d Add dummy stub classes
to be used when the metafile classes are not implemented.
2018-05-05 21:29:56 -07:00
Robin Dunn
01e7fdcd0e Enable wxGraphicsContext::Create(metaFileDC) wrapper 2018-05-05 19:24:53 -07:00