Improve wxPropertyGrid::SetSortFunction() documentation Information about the returned value was incomplete, list all the possibilities. See #25452. (cherry picked from commit ce7273b3ba3905dbf2b7621e7a55ae0b9b5c7d0f)
Respect menu path style in wxFileHistory::AddFilesToMenu() too Previously this function didn't respect the path style and always used full paths in the menu items labels. Fix this by moving the logic for determining the correct label to use into GetMRUEntryLabel(), where it logically belongs. See #25451. (cherry picked from commit dce8b099141189378b6faa5e24d58ea13d4592fd)
Fix determining best height of wxBitmapComboBox in wxGTK Fix the workaround for not getting the correct best size when the control is empty (see #23382) to work for wxBitmapComboBox, which doesn't use GtkComboBoxText as its widget, too. Just call gtk_list_store_insert_with_values(), which works for any GtkListStore, instead of gtk_combo_box_text_append_text(). See #25468. (cherry picked from commit 7c38afe8229b07a30e09c1f531a31f42a5f76519)
Fix wxGLCanvasEGL scale under Wayland in high DPI Ensure that the buffer scale is always the same as the GTK scale factor: Previously, wxGLCanvasEGL only set the buffer scale of the wl_surface once during the creation of the canvas. However, the GTK widget scale factor may change at any time (for example when the window is moved across monitors), which results in the EGL window size becoming out-of-sync with the surface's buffer scale when the canvas is resized. Fix this issue by updating the wl_surface buffer size whenever the canvas widget is resized. See #23733, #25465. (cherry picked from commit 7f0bc5c1106a761236b1a1b4965bbe422eefeebc)
Fix font scaling when using wxGTK on Windows Do not apply an additional fontScalingFactor, the font has already the correct size for the DPI of the display. See #25277. (cherry picked from commit ae310f0670775a2470d1998fab89b34215c6ab49)
Fix wxTreeCtrl indent regression See #25282. (cherry picked from commit 6dc66a9d2ae979b8d0ba2c0b4364aba8bc005bc7)
Backport CMake changes With backports of: 55131146730f777f6b7449ec5d030c9d76bd7ee3 CMake: Create all mswu include directories when installing 1dc7334851569591b014f724f9dfa78c55d48faa CMake: Fix monolithic build with static wxWebviewEdge 3a48ac75ed2f363e385e74205e86b5550043ce2e CMake: Add option to force all builtin libraries 51037ff728d1ce3aa140345df8249276caae1822 Add wx/msw/mfc.h to file list ecf2b0dcd7bff90904e1420cc15964b54ebd3750 Fix wx-config created in CMake build with custom flavour 2ec276affc654e1c7eaa0fb6c186975e38fbd204 CMake: Fix iOS OpenGL warning e1f0a938f6052f625781b4476ca6f87f4c07bccd CMake: Fix using Cotire for precompiled headers 35e3c14cb43f8c9bbdc8233828c724549b696f89 Fix library naming when cross compiling for Windows using CMake
Don't crash on start up if macOS system font encoding is unknown If the encoding is not recognized (which is the case at least for the encoding used for Persian/Farsi), wxLocale::GetSystemEncoding() returns wxFONTENCODING_DEFAULT and wxFont::SetDefaultEncoding() must not be called in this case, as it asserts and, due to a separate bug, crashes as the GUI is not fully initialized yet when wxApp::Initialize() is executing. See #25561. (cherry picked from commit 5de590ffaf9ca1ebe8a619986f0217f3a44af8e5)
Fix wxLogApiError() in wxNO_IMPLICIT_WXSTRING_ENCODING build This function needs to compile with wxNO_IMPLICIT_WXSTRING_ENCODING defined, as there are some calls to it in wx headers (at least wx/msw/private.h which, unfortunately, gets included when PCH is used, i.e. practically always with MSVC). Fix its compilation in this case by using wide char __TFILE__ instead of __FILE__ which would have to be wrapped in wxString::FromAscii() or FromUTF8(). See #25568. (cherry picked from commit 1be2e487e3e2813a81d70dd69dfb5675ee8a3896)
Fix memory leak in wxColour::Set() in wxOSX Don't overwrite the existing m_refData in wxColour::InitRGBA() implementation, as this could result in leaking it. Ensure that we are its unique owners, which allocates it if necessary, and then assign to the existing object instead. See #25569. (cherry picked from commit c7e5ac12e69b6b51605c6e2543f29e638cc41f91)
Use system default titlebar decorations under Wayland See #25562 (cherry picked from commit afb11cf2ebaa46d44bc1ead4a2ccf2c6492be77c)
Don't assert in wxGridSizer::Calc{Cols,Rows}() if sizer is empty When the sizer is completely empty, it makes more sense to return 0 from these functions without asserting. See #25642, #25641. (cherry picked from commit d1be72aa8eca1bf767f8fdf710846aa273d2c44d)
Avoid collapsing wxDVC node if already done by event handler If an event handler for wxEVT_DATAVIEW_SELECTION_CHANGED called Collapse() itself (which is weird but allowed), Collapse() still tried to collapse it again, which could result in the count of items becoming negative and all sorts of other problems. Avoid them by not doing anything if the item has been collapsed after the selection change. See #25638, #25631. (cherry picked from commit 0396c2661f434176c5198f2cac84ef91e5f1b540)
Fix crash when copying wxBitmaps in wxMSW if DIB creation fails This shouldn't normally happen, but if it does, e.g. because all the GDI resources have been exhausted, we still shouldn't crash, so check for this. See #24703, #24705. (cherry picked from commit a6203be954125947aa88fd1712af7eb5d755a907)
Leave only MSVS 2022 CI jobs MSVS 2019 is only available in windows-2019 image which is being retired by GitHub, see https://github.com/actions/runner-images/issues/12045 (cherry picked from commit b9e3dc100d578a8abfafc5a27f312357551bdbce)
Fix wxGTK compilation with wxUSE_STD_STRING_CONV_IN_WXSTRING Don't rely on implicit conversion to "char*" which may be unavailable and call utf8_str() explicitly instead. See afb11cf2eb (Use system default titlebar decorations under Wayland, 2025-06-25) and #25562. (cherry picked from commit 666f7489bb2ffbd8298069393a90ddbe18221df5)
—
View it on GitLab.
You're receiving this email because of your account on gitlab.com. Manage all notifications · Help