Commit Graph

1189 Commits

Author SHA1 Message Date
Scott Talbert
9a76a36536 Merge pull request #2624 from DietmarSchwertberger/ISS1944_DD_MULTIPLE
add Python implementation of GetPaths (fix issue #1944)
2024-10-14 20:32:13 -04:00
DietmarSchwertberger
a49f199215 add Python implementation of GetPaths (fix issue #1944) 2024-10-12 15:06:47 +02:00
unawarez
a7b3401ed5 support Wayland GTK backend in Window.GetHandle
This adds support for getting a Wayland `wl_surface` from
`Window.GetHandle`. The behavior of the function is now to return either
an X11 window ID or Wayland `wl_surface` if running a GTK build on those
backends, return 0 on any other GTK backend, or else return the C++
`GetHandle` result unmodified. This is the simplest fix for the Wayland
issue without worrying about breaking existing user code, as this
function already failed for any non-X11 GTK build. Returning 0 on
non-X11/Wayland GTK platforms sidesteps the issue of making sure e.g.
GTK Mac GetHandle returns the same type as native Cocoa Mac GetHandle.
2024-06-20 13:29:28 -05:00
Jorge Moraleda
a1c9554bbf Update wxWidgets to v3.2.5. Add support for new, MSW-only Accessibility related methods. 2024-05-17 21:32:22 -04:00
Scott Talbert
2c6307142f Update sip to v6.8.3 and fix deprecations 2024-02-12 23:20:17 -05:00
Scott Talbert
7a198b8cae Update wxTextCtrl OSX overrides since they're now documented 2023-11-20 22:12:58 -05:00
Scott Talbert
74e34c7a2c Merge pull request #2425 from konstantinbo/fix-dataviewcheckicontextrenderer
Fix dataviewcheckicontextrenderer
2023-07-14 17:09:41 -04:00
Scott Talbert
371101db7a Handle wxGLCanvas::CreateSurface which is only available on EGL 2023-07-14 14:28:12 -04:00
Scott Talbert
db2cef94d0 Set missing pyInt on wxImage.Clear
Fixes #2433.
2023-07-06 12:47:27 -04:00
Konstantin Bolshakov
1236562af5 Add proper support for DataViewCheckIconTextRenderer 2023-06-27 14:07:00 +02:00
Scott Talbert
d8c8e9e4c7 Implement wrapping for wx.ThreadEvent
Fixes #2338.
2023-02-04 20:41:53 -05:00
Mark Roszko
3812a286c4 Patch out GTK specific function from wx 3.2.1 2022-11-08 21:57:48 -05:00
Robin Dunn
0f9dd33cbf Merge pull request #2282 from ncotrb/master
Added EVT_WEBVIEW_SCRIPT_RESULT event binder
2022-10-18 17:29:55 -07:00
Robin Dunn
f3f2356f53 Merge pull request #2269 from CarstenGrohmann/fix_pyArgsString_for_HitTestSubItem
Fix arguments in docstring of wx.ListCtrl.HitTestSubItem()
2022-10-18 17:21:56 -07:00
Robin Dunn
847659ad2f Add wrapper for wxGenericStaticBitmap 2022-10-17 14:32:43 -07:00
Nico
380f8337da Added EVT_WEBVIEW_SCRIPT_RESULT event binder
Adds the missing EVT_WEBVIEW_SCRIPT_RESULT event binder for the webview widget.
Please have a look here: https://github.com/wxWidgets/Phoenix/issues/2099#issuecomment-1239722129

This is my very first pull request. I hope that I have done it right =)
2022-09-14 22:38:44 +02:00
Carsten Grohmann
32e80758c7 Fix arguments in docstring of wx.ListCtrl.HitTestSubItem() 2022-09-07 18:08:12 +02:00
Robin Dunn
2c5bf90721 GetNextAvailableScale's parameter is InOut 2022-08-06 11:39:13 -07:00
Tim Stahlhut
6e6f2effd4 Fix weird chars in etg/bitmap.py 2022-07-05 17:35:14 -04:00
Robin Dunn
b0a75a5bba Fix for wxBitmap::UseAlpha on MSW 2022-06-28 21:26:01 -07:00
Robin Dunn
4c993c1b1a Updates needed to switch to wx master branch (3.2.0) 2022-06-28 20:27:42 -07:00
Robin Dunn
9781f584cd Expose some protected methods in wxBitmapBundleImpl 2022-06-08 18:25:40 -07:00
Robin Dunn
f993afa723 Change wx.FileDialogCustomize.AddChoice to accept a list of strings 2022-06-08 18:08:20 -07:00
Scott Talbert
46f1c1759f Update wxWidgets to 3.1.7 2022-06-08 14:44:47 -07:00
DietmarSchwertberger
b33ede2106 support EVT_GRID_ROW_MOVE 2022-06-08 21:04:37 +02:00
Robin Dunn
0a771ad404 Transfer ownership in wx.BitmapBundle.FromImpl
Add unittest for wx.BitmapBundleImpl
2022-05-17 18:48:46 -07:00
Robin Dunn
f8d7cad72b Ignore wx.App.GetGUIInstance 2022-05-17 18:47:24 -07:00
Robin Dunn
42c0da6d86 Merge pull request #2163 from wxWidgets/bmp-bundle
Autoconvert to wx.BitmapBundle
2022-05-17 17:26:42 -07:00
Robin Dunn
323129f449 Adjust all the custom wx.MenuItem methods. Return new instances, mark them as factories, etc. 2022-05-17 17:23:58 -07:00
Robin Dunn
70c767282c Add a TODO 2022-05-16 15:56:03 -07:00
Robin Dunn
192109386d Add convertFromPyObject code for wxBitmapBundle so we can autoconvert wxBitmaps from Python 2022-05-16 15:27:16 -07:00
Tim Stahlhut
d37686d201 Return new wxBitmap for GetDisabledBitmap()
This issue was detected by the clang64 compiler; but, it likely needs
fixed for all compilers.
2022-05-15 17:11:19 -04:00
Robin Dunn
3e6be81d6d Add forgotten class scope 2022-05-09 23:12:14 -07:00
Robin Dunn
d7711acce3 Fix wrappers for platform-specific GTKSuppressDiagnostics and OSXEnableNewLineReplacement
They need to be generated for all platforms, even if they do not do anything on some.
2022-05-09 21:49:11 -07:00
Randy Döring
61cb3244d4 Fix CheckListBox GetSelections() 2022-05-06 12:30:03 +02:00
Scott Talbert
37ba9563b6 Update unittests to work with wxWidgets 3.1.6 2022-05-02 22:35:18 -04:00
Scott Talbert
aa1ef7bd75 Update ETG scripts to support wxWidgets 3.1.6 functionality
Fixes #2136.
2022-05-02 22:33:58 -04:00
Scott Talbert
099c0c1e3d Avoid compile warnings for no return statement on non-MSW 2022-01-11 18:00:16 -05:00
Scott Talbert
6da0064551 Replace deprecated PyEval_CallObject with PyObject_CallObject 2022-01-11 17:35:31 -05:00
Scott Talbert
43ad05af4f Merge pull request #2071 from swt2c/test_fixes_2021
Fix a bunch of test issues on GTK and OSX, plus a few non-test bugs
2022-01-09 10:11:07 -05:00
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