Scott Talbert
2b2bdddb47
Unignore TaskBarIcon.GetPopupMenu
...
Fixes #2067
2022-01-01 17:23:24 -05:00
Scott Talbert
076b41103e
Fix a few wx.Grid event issues / tests
2021-12-30 11:51:24 -05:00
Scott Talbert
da2fbf0930
Require wx.App for wx.NotificationMessage
2021-12-30 11:47:09 -05:00
Robin Dunn
5902ec3750
Add some default return values for the webview stubs
2021-12-15 19:06:36 -08:00
Robin Dunn
66ec80bd21
Merge branch 'master' into update-wx
2021-12-15 18:59:03 -08:00
Robin Dunn
a843ed14f2
Merge pull request #2014 from arjones6/master
...
Add wxDC.DrawLinesFromBuffer to draw directly from numpy array memory using the Buffer protocol
2021-12-15 18:55:41 -08:00
arjones6
efbea6a275
dc.DrawLinesFromBuffer demo and test to intc data type. Updated documentation.
2021-12-15 11:07:18 -05:00
Robin Dunn
9627bb8035
Merge branch 'master' into update-wx
2021-12-13 21:40:18 -08:00
Robin Dunn
c186191fb7
Merge pull request #1972 from jeremyd2019/handle-casts-to-long
...
WXMSW: use HandleToLong/LongToHandle functions.
2021-12-13 21:38:13 -08:00
Robin Dunn
3d45e62b0e
Merge pull request #2029 from swt2c/fix_unbind_outorder
...
Fix unbinding of events in FIFO order
2021-12-13 20:44:03 -08:00
Robin Dunn
272990b131
Merge pull request #1997 from cclauss/codespell
...
Fix typos discovered by codespell
2021-12-13 20:16:39 -08:00
Robin Dunn
f95f3187ad
Merge branch 'master' into update-wx
2021-11-23 17:00:06 -08:00
Scott Talbert
b143cff821
Fix unbinding of events in FIFO order
...
When binding events to multiple methods and then unbinding them later,
in the same order they were bound, the wrong method would get unbound.
For example:
self.btn.Bind(wx.EVT_BUTTON, self.onButton1)
self.btn.Bind(wx.EVT_BUTTON, self.onButton1)
followed by:
self.btn.Unbind(wx.EVT_BUTTON, handler=self.onButton2)
self.btn.Unbind(wx.EVT_BUTTON, handler=self.onButton1)
works, but the reverse fails:
self.btn.Unbind(wx.EVT_BUTTON, handler=self.onButton1)
self.btn.Unbind(wx.EVT_BUTTON, handler=self.onButton2)
The reason is that the wxPython Disconnect() method called the wxWidgets
Disconnect() method with the userData parameter set to NULL. In this
case, wxWidgets performs no filtering based on the userData parameter
and this could result in the wrong handler getting disconnected.
Fix this by setting the userData to a known value before calling
wxWidgets Disconnect() method so that it will disconnect the correct
handler.
This commit also adds a test that verifies the fix.
Fixes #2027 .
2021-11-17 19:28:54 -05:00
Robin Dunn
9235b00709
Fix a typo
2021-10-26 12:37:39 -07:00
arjones6
cd94afce06
dc.DrawLinesFromBuffer - add element size check, rename
2021-10-05 14:09:55 -04:00
arjones6
88612ceba2
Added wxDC.DrawLinesBuffer
2021-10-01 16:42:08 -04:00
Christian Clauss
25ba122168
Fix typos discovered by codespell
2021-08-07 18:55:49 +02:00
Christian Clauss
b31d27ccfe
Fix typo discovered by codespell
...
https://pypi.org/project/codespell
2021-08-07 08:55:41 +02:00
Robin Dunn
f321c561ad
various tweaks and fixes for wxWidgets update
2021-07-24 16:03:21 -07:00
Robin Dunn
7d09024195
New WebView events
2021-07-24 16:02:14 -07:00
Robin Dunn
af2c2b63c6
Add wx.FullScreenEvent
2021-07-24 16:01:37 -07:00
Robin Dunn
70535a722b
remove wx.webkit
2021-07-24 15:59:37 -07:00
Jeremy Drake
31e6c8ed34
WXMSW: use HandleToLong/LongToHandle functions.
...
On Clang++, casting from a pointer to an integer of a smaller size is
considered an error. In cases where Windows HANDLEs are converted
to/from longs, use the Windows-provided conversion functions
HandleToLong and LongToHandle.
In a couple of cases, a pointer is being cast to long in a __hash__
function. These don't seem Windows-specific so it is not safe to assume
the Windows conversion functions are present. In those cases, fall back
to the (ugly) double-casting that the Windows functions contain.
2021-06-14 11:43:29 -07:00
Robin Dunn
040c59fd99
Change InitLocale to just do locale.setlocale(locale.LC_ALL, "C") to undo what Python (3.8+ on Windows) does.
2021-01-29 13:39:49 -08:00
Robin Dunn
c78823549b
Ensure time_t is treated as a 64-bit value by SIP
2021-01-29 13:34:10 -08:00
Robin Dunn
66f62480f3
decode the catalog lookup path if needed
2021-01-20 13:34:53 -08:00
Robin Dunn
91a205fb17
Provide a stubbed version of wxHandleFatalExceptions based on wxUSE_ON_FATAL_EXCEPTION
2021-01-18 14:16:59 -08:00
Robin Dunn
bcc9510f39
Pythonize wx.GenericDirCtrl.GetPaths
2021-01-16 15:33:57 -08:00
Robin Dunn
969b1b2ddc
Add wx.ImageDataObject
2021-01-11 11:56:39 -08:00
Robin Dunn
12db41dad1
Ensure SIP knows about the item container pure virtuals.
2020-12-29 18:11:05 -08:00
Robin Dunn
3d1134708e
wxGridCellRenderer::Draw has an implementation despite being pure virtual
2020-12-29 14:59:17 -08:00
Robin Dunn
c4442cbc56
Ignore the static overload of GetBitness, which doesn't seem to exist
2020-12-18 16:05:44 -08:00
Robin Dunn
f2b7035a5a
Swap which is the real name and which is the alias for DatePickerCtrlGeneric
2020-11-13 09:38:53 -08:00
Robin Dunn
7a839de248
Make it possible to call a function that post-processes the generated ReST doc for a class.
2020-11-11 15:40:05 -08:00
Robin Dunn
e3dbe68b49
Allow passing iterator flags into GetPropertyValues
2020-11-11 14:41:44 -08:00
Robin Dunn
c4f1e9f3bd
Add missing context manager methods for wx.LogNull
2020-11-10 14:43:18 -08:00
Robin Dunn
6dd5689daa
Split and dedent the ConvertToRegion doc so it will be formatted correctly by sphinx
2020-10-15 14:20:55 -07:00
Robin Dunn
c5c28fd811
Add wx.Image.ConvertToRegion allowing to construct a region from an image without needing to make a bitmap first.
2020-10-14 18:17:54 -07:00
Robin Dunn
1842b2bc9a
Merge branch 'master' into webview-edge
2020-10-14 13:02:12 -07:00
Robin Dunn
15be2436d1
Give CheckItem.check a default value so it will be less likely for code still using CheckListCtrlMixin to raise an exception.
2020-10-13 16:04:49 -07:00
Robin Dunn
cddbbc5001
Modify the PATH, if needed, to allow the MS Edge Loader DLL to be found
2020-10-13 14:16:56 -07:00
Robin Dunn
65767d1aa7
Add inclusion of webview_edge.h, add wxWebViewBackendEdge
2020-10-13 13:16:57 -07:00
Robin Dunn
ca3367a340
Enable GridActivationResult and GridActivationSource
2020-09-16 16:38:45 -07:00
Robin Dunn
8b839328d4
Remove the ART_ID workaround
2020-09-10 13:48:26 -07:00
Robin Dunn
557cfaf4da
New grid selection events
2020-09-10 13:04:59 -07:00
Robin Dunn
71c7514593
Temporary workaround for the changes in the wxART IDs C++ implementation
2020-08-31 15:32:19 -07:00
Robin Dunn
62b37d24fe
Add stubs for wxUIActionSimulator
2020-08-31 14:09:34 -07:00
Scott Talbert
92b2378548
Don't remove wxPropertyGrid virtuals when calling fixWindowClass
...
Fixes #1765
2020-08-13 17:25:49 -04:00
Robin Dunn
f32311e20c
Update FIXME notes about the GridActivationResult issue
2020-08-07 14:38:11 -07:00
Robin Dunn
d061009b9e
Add FromPNGData factory, and fix markup in some docstrings
2020-07-29 14:58:16 -07:00