Commit Graph

4863 Commits

Author SHA1 Message Date
Jeremy Drake
4a292c3cda Revert "pywxrc: fix embedded resources in python 2.7 and 3"
This reverts commit 234491058f now that
memoryview works properly on python 2.7.
2020-07-02 22:42:27 -07:00
jeremyd2019
357a350837 Try both old and new buffer protocols on python2.7
While some objects on 2.7 might only implement the old buffer protocol,
some (notably memoryview) only implement the new buffer protocol, so
both need to be tried.
2020-07-02 22:41:12 -07:00
Robin Dunn
961dda67ee Merge pull request #1699 from evils/delicious
build.py: append PYTHONPATH
2020-07-02 20:45:51 -07:00
Robin Dunn
b60eaf3dc1 Merge pull request #1711 from wxWidgets/fix-issue1706
Add `IsNull()` checks for all property methods in GraphicsObject classes
2020-07-02 20:45:08 -07:00
Robin Dunn
6f1e8afcb0 Merge pull request #1710 from wxWidgets/fix-issue1701
Copy the full documentation for our custom dc.GetPixel wrapper
2020-07-02 20:44:55 -07:00
Robin Dunn
4ac15dda3a Ensure that demo/version.py makes it into the source and demo archives 2020-07-02 16:41:35 -07:00
Robin Dunn
2573b6de8e Also catch the locale.Error exception 2020-07-02 16:15:03 -07:00
Robin Dunn
152a24e341 Add IsNull() checks for all property methods in GraphicsObject classes 2020-07-02 15:49:54 -07:00
Robin Dunn
ca257209e6 Add ability to use %PreMethodCode% for more than just the mustHaveApp check 2020-07-02 15:48:48 -07:00
Robin Dunn
90176323bd Merge pull request #1705 from StefanBruens/stl_fixes
Allow building with STL wxWidgets variant
2020-07-02 15:46:12 -07:00
Robin Dunn
78120174d6 Copy the full documentation for our custom dc.GetPixel wrapper 2020-07-02 15:29:49 -07:00
Robin Dunn
f1252484a8 Merge pull request #1697 from swt2c/windowlist_transfer
Set transfer flag on wxPGWindowList constructor and SetSecondary method
2020-07-02 15:06:42 -07:00
Robin Dunn
fa22d882cd Merge pull request #1688 from jeremyd2019/pywxrc-embedded-binary-resources
pywxrc: fix embedded resources in python 2.7 AND 3
2020-07-02 14:32:46 -07:00
Stefan Brüns
b45ec07194 Use explicit wxString::c_str conversion for sipFindType(const char*) 2020-07-01 15:13:07 +02:00
Stefan Brüns
5990d44b5e Fix conversion of variant list members
Item() returns either a Node* or (with wxUSE_STL=1) a
compatibility_iterator. While the former is silently and erroneously
converted to a Variant using the Variant(void*) overload, the STL
flavor fortunately failed. Dereference the Node*/iterator before
passing it to wxVariant_out_helper(const Variant&).
2020-07-01 15:11:07 +02:00
Robin Dunn
73f75ea3e4 Fix builds on Windows 2020-06-29 12:26:46 -07:00
Robin Dunn
64b5ddd8c4 Merge branch 'wx-updates' 2020-06-29 10:33:54 -07:00
Robin Dunn
de1c8b42d8 Update wxWidgets to latest commit 2020-06-29 10:16:42 -07:00
Robin Dunn
56dc1f699e Update changelog for recent changes 2020-06-29 10:08:44 -07:00
Robin Dunn
7ac363ca7e Merge pull request #1702 from wxWidgets/locale-stuff
New InitLocale implementation
2020-06-29 08:21:50 -07:00
Robin Dunn
c369038ad4 Tweaks needed for new wxWidgets changes 2020-06-26 22:35:51 -07:00
Robin Dunn
99d7c1a52e Update wxWidgets to latest commit 2020-06-26 21:51:35 -07:00
Robin Dunn
41220cc9bb Don't use an f-string, in order to not break Py2.7 (yet) 2020-06-26 21:49:47 -07:00
Robin Dunn
089985a9fb Log the exception's message too 2020-06-26 13:29:00 -07:00
Robin Dunn
f67f588fb9 Update wx.App.InitLocale to be MSW-only, simpler, and maybe better 2020-06-26 12:45:18 -07:00
Robin Dunn
1e92a83dfa Add note about locale issue on Windows 2020-06-26 12:19:46 -07:00
Robin Dunn
315789a9ec Add wxString version of wxSetLocale 2020-06-26 12:15:59 -07:00
Evils
bf713425ac build.py: append PYTHONPATH
based on deliciouslytyped's commit by a similar name
2020-06-26 16:16:58 +02:00
Scott Talbert
83b96fba5c Set transfer flag on wxPGWindowList constructor and SetSecondary method
Fixes #1696.  wxPropertyGrid expects to delete both the primary and secondary
controls, so we need to prevent Python from doing so.
2020-06-25 17:43:05 -04:00
jeremyd2019
234491058f pywxrc: fix embedded resources in python 2.7 and 3
It turns out that memoryview() was resulting in an empty file in python 2.7, whereas bytearray is working in both 2.7 and 3.
2020-06-17 19:35:29 -07:00
Robin Dunn
b452a353ed Merge pull request #1687 from wxWidgets/update-sip
Update sip to 4.19.23
2020-06-17 16:54:02 -07:00
Robin Dunn
c9ccff3d11 Add SIP MD5 hash for linux64 2020-06-17 15:32:28 -07:00
Robin Dunn
cd54afada9 Add SIP MD5 hash for linux 2020-06-17 15:29:24 -07:00
Robin Dunn
0c0d9ab27f Add SIP MD5 hash for Windows 2020-06-17 13:12:00 -07:00
Robin Dunn
a4ae17284e Also check for msvc_version 14.2 2020-06-17 13:11:34 -07:00
Robin Dunn
4d0b5f4cf4 Hard code env vars that have changed defaults on my machine 2020-06-17 13:10:28 -07:00
Robin Dunn
6683c58747 Update SIP version and hash for Darwin 2020-06-17 13:01:06 -07:00
Robin Dunn
f8ced7977b Remove a hack that is no longer needed 2020-06-17 13:00:33 -07:00
Robin Dunn
c568beefe0 Merge pull request #1658 from swt2c/fix_propgrid
Fix some issues with PropertyGrid demo
2020-06-17 09:12:45 -07:00
Robin Dunn
509b9fa95d Merge pull request #1685 from wxWidgets/fix-issue1683
Ensure the widget has the capture before releasing it
2020-06-17 09:10:37 -07:00
Robin Dunn
fac47514b9 Merge pull request #1674 from Metallicow/Optimize-auitoolbar-OnPaint-method-loop
Optimize auitoolbar OnPaint method loop
2020-06-17 09:02:49 -07:00
Scott Talbert
e7288e6047 Add some missing private assignment operators
This is needed as part of fixing #1636 as a new version of SIP is required,
which makes these changes necessary.

(cherry picked from commit 676b95ad17)
2020-06-16 20:51:54 -07:00
Robin Dunn
815a5eae5e update siplib source 2020-06-16 20:43:20 -07:00
Robin Dunn
e10edf0991 Add a changelog entry for the DVM.HasValue change. 2020-06-16 20:26:06 -07:00
Robin Dunn
ab1ad6d536 Add missing changelog item 2020-06-16 20:25:35 -07:00
Robin Dunn
2f34c2e0c9 Ensure the widget has the capture before releasing it 2020-06-16 20:13:46 -07:00
Robin Dunn
346fe89ce8 minor typos and tweaks 2020-06-16 19:51:09 -07:00
Metallicow
64e86305a3 Avoid long line per request 2020-06-16 20:53:22 -05:00
Robin Dunn
a9624c0d45 Merge pull request #1677 from Metallicow/remove-exception-in-py-shell-wrap-method
Remove exception in py shell wrap() method
2020-06-16 17:32:30 -07:00
Robin Dunn
3d3ea4f5ab Merge pull request #1676 from Metallicow/Optimize-AuiDefaultTabArt
Optimize AuiDefaultTabArt
2020-06-16 17:31:48 -07:00