Commit Graph

849 Commits

Author SHA1 Message Date
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
Robin Dunn
f5aabc5f62 Fix bad interaction between wxpTag and how wxmodules are reinitialized now.
Change wxPyHtmlTagsModule to be a normal wxModule that is created and initialized by the system, and track all the tag handler classes in a static member so they can be found again after modules are reinitialized again in the future.
2017-08-29 15:28:17 -07:00
Robin Dunn
09f48f5d21 fix typo 2017-08-29 13:35:07 -07:00
Robin Dunn
3de6e63a91 Merge pull request #479 from RobinD42/fix-issue474
Ignore the GetVirtualSize in wxScrolled
2017-08-23 20:00:22 -05:00
Robin Dunn
85ec35c5d6 Merge pull request #478 from mesalu/conform_ToolBar_params
Change ToolBar.AddTool help parameters to be consistent
2017-08-23 20:00:05 -05:00
Samuel Dunn
ec4c1fc1fa Reduce unnecessary whitespace 2017-08-23 09:23:47 -07:00
Samuel Dunn
e25eb17cc8 Revert "Change ToolBar.AddTool help parameters to be consistent"
This reverts commit b8d2ed10e6.
2017-08-23 09:18:26 -07:00
Robin Dunn
98ad3b69af Ignore the GetVirtualSize in wxScrolled, and inherit it from wx.Window instead. 2017-08-23 08:54:24 -05:00
Mesalu
519bd3d280 Change parameter adjustments to actually work. 2017-08-22 21:42:41 -07:00
Mesalu
b8d2ed10e6 Change ToolBar.AddTool help parameters to be consistent
This way python keyword arguments don't change depending on the overloaded method selected by sip.
2017-08-22 18:47:59 -07:00
Robin Dunn
69072e270b Monkey-patch SetItemData to check that the data value is not too bit or too small 2017-08-15 21:18:47 -07:00
Robin Dunn
788d84a66c Switch the return value type of GetItemData to long,
so it matches the type given to SetItemData
2017-08-15 17:47:49 -07:00
Robin Dunn
f4749bd6bd Fix missing self arg 2017-08-08 16:48:05 -07:00
Robin Dunn
526d216e6c Fixed copy/paste error in wx.BusyInfo.__exit__ 2017-07-31 10:31:52 -07:00
Robin Dunn
3889e177fd Merge pull request #446 from RobinD42/fix-issue441
Add missing wx.VScrolledWindow methods
2017-07-29 10:27:46 -07:00
Robin Dunn
6980ef2aac Transfer ownership of wx.EvtHandler when needed. 2017-07-28 19:56:27 -07:00
Robin Dunn
f330eb702f Add wrappers for methods listed in the docs as deprecated but still present. 2017-07-28 19:51:08 -07:00
Robin Dunn
a312eef892 Added a deprecated compatibility helper for wx.CustomDataFormat 2017-07-26 17:00:10 -07:00
Robin Dunn
fe75c9acb2 In DLG_UNIT if the input parameter was not a Point or Size then convert the return value to a tuple 2017-07-21 22:17:40 -07:00
Robin Dunn
a3da640408 Set transfer flag for wxItemContainer.SetClientObject 2017-07-21 16:18:59 -07:00
Robin Dunn
70f6f447b4 Apply the usual fix for Get/SetClientData 2017-07-21 16:18:06 -07:00
Robin Dunn
63dd9a6b31 Merge branch 'master' into fix-issue394 2017-07-19 16:29:33 -07:00
Robin Dunn
60ba661bbd The old names for the wxGridSelectionModes enum had leading "wx", put it back 2017-07-17 12:19:05 -07:00
Robin Dunn
56e6806a9f Fix detailedDoc for ShowPage.
It needs to be a list, not just a single string.
2017-07-05 09:38:53 -07:00
Robin Dunn
52b87b79cd Change "label" arg name to "bitmap" 2017-06-30 10:18:15 -07:00
Robin Dunn
1593369d3d Merge branch 'master' into fix-issue394 2017-06-29 21:03:22 -07:00