Robin Dunn
f21c6b812d
Add tests for floating point multiplication of Point, Size and RealPoint
...
(cherry picked from commit 46cc86a34a )
2018-09-25 12:44:35 -07:00
Robin Dunn
10c34f20e7
Merge pull request #980 from RobinD42/fix-issue974
...
Add wx.StaticBox.GetBordersForSizer
(cherry picked from commit 49d0592e4a )
2018-08-29 23:14:25 -07:00
Robin Dunn
4b6ee40a14
Merge pull request #938 from RobinD42/fix-issue932-b
...
Restore wx.lib.pubsub, and officially deprecate
(cherry picked from commit 8fad2231a0 )
2018-07-20 16:45:05 -07:00
Robin Dunn
cc940d3f30
Merge pull request #935 from RobinD42/fix-issue918
...
Added wx.Treebook.GetTreeCtrl and wx.Choicebook.GetChoiceCtrl
(cherry picked from commit f85818a25d )
2018-07-18 18:28:37 -07:00
Robin Dunn
705aa63d75
Merge branch 'more-windowidref' into wxPy-4.0.x
...
(cherry picked from commit ada7b2fc51 )
2018-06-25 19:12:00 -07:00
Robin Dunn
b5bb587145
Merge pull request #897 from RobinD42/add-windowidref
...
Add wx.WindowIDRef and wx.NewIdRef
2018-06-24 21:37:54 -07:00
Robin Dunn
b1b0c9e297
wx.NewId() --> wx.ID_ANY or wx.Window.NewControlId() as appropriate
2018-06-19 10:31:56 -07:00
Robin Dunn
9dd05ae311
Merge pull request #878 from RobinD42/fix-issue875
...
Add missing wx.adv.EVT_CALENDAR_WEEK_CLICKED
(cherry picked from commit e1732ee271 )
2018-06-04 23:38:25 -07:00
Robin Dunn
4b4e642c4f
Merge pull request #874 from RobinD42/fix-issue783
...
Add a wx.GraphicsContext.Create overload for wx.AutoBufferedPaintDC
(cherry picked from commit c798be08a3 )
2018-05-31 21:17:55 -07:00
Robin Dunn
09de554e1b
Merge branch 'this-n-that' into wxPy-4.0.x
...
(cherry picked from commit 2e5430d57f )
2018-05-07 11:24:24 -07:00
Robin Dunn
7e248fca3e
Merge pull request #839 from swt2c/add_numdlg
...
Add missing wx.NumberEntryDialog
2018-05-01 20:25:00 -07:00
Robin Dunn
f1d9c2579c
Merge pull request #840 from RobinD42/fix-issue836
...
Fix wx.TextCompleterSimple.GetCompletions
2018-05-01 19:54:17 -07:00
Robin Dunn
156fece679
Merge pull request #838 from RobinD42/fix-issue836
...
Copy MethodDefs for Start and GetNext from base class
2018-04-30 22:08:21 -07:00
Robin Dunn
52185fb6a5
Merge pull request #829 from swt2c/fix_textcompleter
...
Fix subclassing of wx.TextCompleter and wx.TextCompleterSimple
2018-04-28 21:27:09 -07:00
Mark Amery
1e1c4356c4
Fix setting IntCtrl to None wrongly raising
2018-03-16 12:51:45 +00:00
Robin Dunn
cff5cfa6e9
Fixes for some unittests
2018-02-18 22:05:45 -08:00
Mesalu
3bf04aa771
Add iterability to sizer classes and corresponding unittest
2018-02-08 21:25:49 -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
Metallicow
99834ab3ec
⁉️ Trim trailing whitespace misc files
...
All these files seem like legit trailing whitespace that can be removed.
2018-01-16 09:37:04 -06:00
Metallicow
c76384d458
Trim trailing whitespace *.py files
2018-01-16 08:47:07 -06:00
Robin Dunn
40e8eb07de
Add converting to datetime to PyGetDate methods
2018-01-11 11:00:33 -08:00
Robin Dunn
deb21aa2ed
Merge branch 'master' into port-gizmos
2017-12-06 13:15:14 -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
36f1e55a3a
Merge branch 'master' into port-gizmos
2017-11-07 17:57:05 -08:00
Robin Dunn
326d707717
Fix comparing DataViewItem with None
2017-11-07 15:42:25 -08:00
Robin Dunn
52711eee4f
Merge branch 'master' into port-gizmos
2017-11-03 16:52:37 -07:00
Robin Dunn
666761337b
Update SIP to 4.19.4
2017-11-02 21:39:05 -07:00
Robin Dunn
e6c16cf455
Support 2-phase create, add unittests
2017-10-30 12:42:38 -07:00
Robin Dunn
b2c06479cb
Add test checking that wx.GetLocale exists
2017-10-18 09:33:07 -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
4ce9c2b46f
Various other propgrid related tweaks
2017-09-14 19:57:26 -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
b55cfa073a
Add wx.Simplbook
2017-09-05 21:32:29 -07:00
Scott Talbert
af936b17ad
Fix test_grid42 failure
...
Fixes:
____________________________ grid_Tests.test_grid42 ____________________________
self = <unittests.test_grid.grid_Tests testMethod=test_grid42>
def test_grid42(self):
# old names
> wx.grid.Grid.GridSelectCells
E AttributeError: type object 'Grid' has no attribute 'GridSelectCells'
unittests/test_grid.py:319: AttributeError
2017-08-31 22:06:18 -04: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
1be80aca7c
Add missing DeleteAllColumns
2017-08-29 18:29:27 -07:00
Robin Dunn
b037c4e7cb
Turn "public" back on after emitting some private methods
2017-08-29 16:23:49 -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
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
526d216e6c
Fixed copy/paste error in wx.BusyInfo.__exit__
2017-07-31 10:31:52 -07:00
Robin Dunn
172bd50d41
Merge pull request #438 from RobinD42/fix-issue426
...
Give DLG_UNIT some "elegance" ;-)
2017-07-22 00:25:12 -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
0d1b7dcdf3
Add missing HtmlCell.FindCellByPos
2017-07-21 21:53:26 -07:00
Mesalu
b1b91dface
Update test_window.py
...
Add checks to ensure correct type is returned per input.
2017-07-13 11:18:49 -07:00
Robin Dunn
bb403e185f
update unittest
2017-06-30 10:20:19 -07:00
Robin Dunn
e9e58ed35f
Merge pull request #411 from mesalu/WIP_add_imghandlers
...
Add ImageHandler derivations to Phoenix
2017-06-28 19:21:35 -07:00
Samuel Dunn
f1bc13a841
Ensure wx.Config related enums are present for SIP
...
Also adds unittests to ensure they remain present in Phoenix.
2017-06-26 17:28:50 -07:00
Samuel Dunn
1347d5c6be
Use intended bitmap type in test
2017-06-24 10:53:23 -07:00