Commit Graph

874 Commits

Author SHA1 Message Date
Robin Dunn
096b00e1a2 Merge branch 'master' into release-prep 2018-01-30 20:30:17 -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
ef2905c43a Merge branch 'master' into release-prep 2018-01-29 19:26:06 -08:00
Robin Dunn
98e592157c Add docstring for our custom ctor for wx.AcceleratorTable 2018-01-29 14:17:20 -08:00
Robin Dunn
8c4dffb091 Add virtual dtor for DC classes 2018-01-29 14:11:00 -08:00
Robin Dunn
d330ad1b40 Add context manager methods to wx.DC 2018-01-29 12:23:57 -08:00
Robin Dunn
5e89ae9bc9 Merge branch 'master' into sip-4.19.7 2018-01-23 12:16:38 -08:00
Robin Dunn
fcf0d8cc17 Copy methods from wxGenericProgressDialog to wxProgressDialog.
This is needed because some of the methods are non-virtual, and they are reimplemented in the MSW version of wxProgressDialog. In order for those methods to be called they need to have wrappers generated.
2018-01-22 16:25:40 -08:00
Metallicow
c76384d458 Trim trailing whitespace *.py files 2018-01-16 08:47:07 -06:00
Robin Dunn
7adc335678 Fix compilation error for wxFSW_EVENT_UNMOUNT when it's not part of the C++ enum. 2018-01-15 14:31:41 -08:00
Robin Dunn
40e8eb07de Add converting to datetime to PyGetDate methods 2018-01-11 11:00:33 -08:00
Robin Dunn
92468c7a87 Merge branch 'master' into port-gizmos 2018-01-08 20:32:33 -08:00
Mesalu
f31d72eb0f Add fixWindowClass 2018-01-08 10:53:20 -08:00
Mesalu
2adb4aa56e Tweak wxAuiTabCtrl into _aui.auibook 2018-01-07 17:55:39 -08:00
Robin Dunn
7cafcdb5fd Merge branch 'master' into port-gizmos 2018-01-05 17:16:30 -08:00
Mesalu
52afc4d4ce Fix docstring futher 2018-01-04 16:17:11 -08:00
Mesalu
6c46df9698 Tweak docstring 2018-01-04 16:12:40 -08:00
Mesalu
1007f86fc1 Merge branch 'master' into mesalu-patch-1 2018-01-04 16:07:47 -08:00
Mesalu
2d5e0732da Maintain references to CallLater instances. 2018-01-04 13:12:44 -08:00
Robin Dunn
886c0d099b Merge branch 'master' into port-gizmos 2017-12-29 15:26:09 -08:00
Robin Dunn
d9c6d41c02 Turn on isVirtual for HtmlWindow.On* methods 2017-12-29 12:55:08 -08:00
Robin Dunn
640641e1b0 More TreeListCtrl WIP 2017-12-12 20:53:40 -08:00
Robin Dunn
0ffd220385 Fix our wxEvtHandler::Disconnect replacement
* Fix C++ compare of the handler functor
 * Use PyObject_RichCompare to check for matching python handlers
2017-11-21 18:34:59 -08:00
Robin Dunn
03d1e1559c Add MappedType for wxMessageDialog::ButtonLabel,
so MessageDialog methods can take either string or stock IDs.
2017-11-18 19:26:42 -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
7feff9384e Merge pull request #620 from RobinD42/fix-issue595
Fix comparing TreeListItem __eq__ and __ne__
2017-11-17 22:56:52 -06:00
Robin Dunn
b180e6b9d4 dataview tweaks, and demo update for CustomRenderer 2017-11-17 14:52:40 -08:00
Robin Dunn
4012e27c14 Fix __eq__ and __ne__ for comparing TreeListItem with None 2017-11-17 14:45:01 -08:00
Robin Dunn
2be62834d6 Merge pull request #599 from RobinD42/fix-issue595
Fix comparing DataViewItem with None
2017-11-07 19:54:22 -06:00
Robin Dunn
326d707717 Fix comparing DataViewItem with None 2017-11-07 15:42:25 -08:00
Robin Dunn
de655e45dc Fix GetExtWildcard to return the output arg
in a tuple with the return value, like in Classic.
2017-11-07 13:25:57 -08:00
Robin Dunn
62449137d5 Remove MonkeyPatch checking for integer overflow in ListCtrl.SetItemData 2017-11-02 21:39:52 -07:00
Robin Dunn
488eb77b58 Merge branch 'master' into fix-issue578 2017-10-25 22:11:17 -05:00
Robin Dunn
dfc4b62e11 Add methods to wx.TextCtrl for output "file-like" compatibility 2017-10-25 17:49:05 -07:00
Robin Dunn
802b2c4389 Transfer ownership of SetDropdownMenu.menu 2017-10-25 16:48:14 -07:00
Robin Dunn
66b4a7966d Enable wxArray wrappers to return copy from __getitem__.
This solves problems where an array that is the return value of some method call is indexed immediately and a reference to the array is not held, which could result in garbage values for the indexed item. Currently this is turned on for just GridCellCoordsArray, but others can be switched in the future if needed.
2017-10-12 14:33:15 -07:00
Robin Dunn
eb20b362a8 Transfer object ownership of pageObj in PropertyGridManager.AddPage 2017-10-04 16:03:32 -07:00
Robin Dunn
fdc02603eb PGEditorDialogAdapter.GetEditorDialog is a factory function,
mark it as such so the ownership of the returned value is handled correctly.
2017-09-22 16:07:27 -07:00
Robin Dunn
3aa2cbcbdb Fixes in wx.aui to properly transfer ownership of the menubar, and also some tweaks in the AUI_MDI sample in the demo. 2017-09-21 23:12:44 -07:00
Robin Dunn
d708fa67fb Merge branch 'master' into release-prep 2017-09-15 08:33:45 -07:00
Robin Dunn
2b2040647c typo 2017-09-14 20:07:58 -07:00
Robin Dunn
90be887af6 Reorder the SetPropertyValue overloads and constrain the bool and double overloads.
This avoids choosing the int overload for anything that can be implicitly converted to an integer.
2017-09-14 19:56:09 -07:00
Robin Dunn
05d3fe255a Add more detail to the docstring for ShowBalloon() 2017-09-13 15:06:11 -07:00
Scott Talbert
f882d21e8a Fix wx.SearchCtrl.SetCancelBitmap()
This addresses Trac ticket 17883.
2017-09-12 21:32:21 -04:00
Robin Dunn
b55cfa073a Add wx.Simplbook 2017-09-05 21:32:29 -07:00
Robin Dunn
678d6d897f Ensure wx.Notebook (and other bookctrls) declare all the base virtual methods 2017-09-05 16:38:27 -07:00
Robin Dunn
4ef6bc8603 Merge pull request #489 from RobinD42/fix-issue480
Turn "public" back on after emitting some private methods
2017-08-30 00:23:43 -05:00
Robin Dunn
3df175ec48 Keep the base virtuals, just exclude the ones from wxDataObjectSimple 2017-08-29 19:46:55 -07:00
Robin Dunn
c0654d6957 Don't add the common virtuals for wxURLDataObject.
It's complicated parentage causes build problems in some cases.
2017-08-29 19:21:48 -07:00
Robin Dunn
b037c4e7cb Turn "public" back on after emitting some private methods 2017-08-29 16:23:49 -07:00