Commit Graph

646 Commits

Author SHA1 Message Date
jensgoe
714a9a222d ignore newline added by Tokenize module since Python 3.6 (fixes #1109) 2018-12-12 16:00:46 +01:00
Robin Dunn
1f735769a1 Merge pull request #1082 from Metallicow/Fix-Image-Issues
Fix image issues
2018-11-30 14:52:26 -08:00
Robin Dunn
ccd9874d1c Merge pull request #1083 from swt2c/fix_pubsub_test
Fix pubsub provider test - restore expected whitespace
(cherry picked from commit f797aec0e6)
2018-11-30 14:45:22 -08:00
Robin Dunn
a023509f9b Merge pull request #1081 from swt2c/fix_filectrl_tests
Fix filectrl tests - wait a little longer to ensure event loop runs
(cherry picked from commit f7d6303690)
2018-11-30 14:44:56 -08:00
Robin Dunn
ad25565baa Merge pull request #1080 from swt2c/fix_dataview_test
Fix dataview test on Python 2
(cherry picked from commit d565a3500f)
2018-11-30 14:44:39 -08:00
Robin Dunn
ba3a638839 Merge pull request #1079 from swt2c/skip_unimplemented_tests
Skip unimplemented tests instead of failing them
(cherry picked from commit 66049df936)
2018-11-30 14:44:24 -08:00
Metallicow
230bf5d6d3 Optimize All PNGs Nov2018
Since I had to fix a image issue and optimize it. I decided to rerun FileOptimizer 13.30.2393 over all pngs. Small bytes for some that had been optimized before, but this comit covers all pngs that may have been missed in the past. Maybe revisit running them all again in 2 years. Total time to process all pngs: approx 8 hours.
As technology improves this will only get better/faster when downloading, loading in browser, embedded, etc...
2018-11-13 16:08:12 -06:00
Robin Dunn
586f9ccd22 Add Enabled property for wx.MenuItem
(cherry picked from commit af7f52b640)
2018-11-01 17:06:46 -07:00
Robin Dunn
ceb2f46720 Merge pull request #1065 from RobinD42/fix-issue1061
Transfer ownership of the wx.aui.AuiNotbook.SetArtProvider art parameter

(cherry picked from commit a55e4ec45d)
2018-10-29 22:18:23 -07:00
Robin Dunn
653d91b372 Merge pull request #1064 from RobinD42/fix-issue1060
Ensure sip knows the pure virtuals are present in wx.html.HtmlPrintout

(cherry picked from commit 17f52dfd14)
2018-10-29 22:18:08 -07:00
Robin Dunn
2f540a91e6 Merge pull request #1034 from RobinD42/fix-issue958-291-wxAccessible
Add wxAccessible and a tool to generate C++ stubs

(cherry picked from commit 3a9f37f2aa)
2018-10-10 19:40:59 -07:00
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