[3.2] wxQt: fix undefined reference to cairo_surface_get_device_scale() (PR #26219)

4 views
Skip to first unread message

Carlo Bramini

unread,
8:23 AMĀ (13 hours ago)Ā 8:23 AM
to wx-...@googlegroups.com, Subscribed

This patch fixes issue #26218.


You can view, comment on, or merge this pull request online at:

Ā Ā https://github.com/wxWidgets/wxWidgets/pull/26219

Commit Summary

  • 801e958 Update list of locales to install
  • d275dd4 Fix compilation of <wx/archive.h> on Clang 19 on Fedora
  • fd0f60d Make wxWARN_UNUSED work with Clang (again)
  • f2918a9 Fix crash when connection is refused in wxWebRequestCURL
  • b6a54c4 Fix default background colour of ownerdrawn wxListBox items
  • 8968640 Don't break AUI layout if Update() is called while iconized
  • 3c8fedc Fix wxEvent timestamp narrowing under macOS
  • dc86045 Implement wxCursor::GetHotSpot() in wxOSX/Cocoa
  • 3fd09ea Implement wxSYS_CURSOR_[XY] in wxOSX wxSystemSettings::GetMetric()
  • 447b1ac Fix handling pending events in wxMSW without an event loop
  • 9437c9c Fix indent of wxTreeCtrl without images in high DPI under MSW
  • ac371ab Use the standard naming convention for WX_GL_COMPAT_PROFILE
  • bab39fc Define wxCharNN as typedefs for charNN_t, not wxUintNN
  • 9d1c5b1 Stop using checkout and other actions for Ubuntu 18.04 CI builds
  • 1500a05 Update copyright years to 2025 in 3.2 branch too
  • 7d43d6b Allow setting the exit code when returning false from OnInit()
  • ed7defa Fix multiple errors in the version script
  • faca510 Use PCRE2 function for counting the number of captures
  • 2b4bfee Improve window sizing documentation
  • c7e658e Keep object potentially used by libcurl alive until after cleanup
  • 2dfff4d Fully disassociate HWND in OnEndSession
  • 65a0ca1 Run macOS CI builds using macos-14 GitHub image
  • c82cec8 Backport miscellaneous CMake improvements from master
  • 97d6518 Allow wxDataViewCustomRenderer::GetSize() return 0 in wxGTK
  • ef1d91f Fix border size for wxStaticBox with GTK3
  • ccb82d7 Revert "Wrap label if necessary in wxInfoBar in wxGTK"
  • d5e1182 Simplify setting the label text in wxInfoBarGeneric
  • ef4874f Fix wxInfoBar layout when there is not enough space for button
  • 9517c92 Ellipsize info bar text instead of truncating it
  • 837928a Also show the text of the infobar message in a tooltip
  • b0806a7 Allow setting wxInfoBar colours before creating it
  • 250ac64 Use native GTK colours for wxInfoBarGeneric with GTK 3.24
  • c7bdc37 Document recent wxInfoBar backports in the change log
  • d8545cc Recognize Windows Server 2025 in wxGetOsDescription()
  • a262dec Make wxKill(wxKILL_CHILDREN) kill children recursively in wxMSW
  • feaa0b7 Fix warnings when using event table macros with Clang 19.1.6
  • 527f8b2 Update copyright year in the dialogs sample too
  • 103be7e Fix wxWindowDisabler not starting modal session under macOS
  • 7e9e455 Prevent SDL from capturing SIGINT
  • 4b60508 Add mailmap entries for Wlodzimierz Skiba
  • 9c24032 Make wxIMPLEMENT_WX_THEME_SUPPORT empty for wxUniv console apps
  • 6f23c63 Don't define wxHAS_NATIVE_WINDOW in wxUniv/MSW.
  • a25b58d Use Win32 ReplaceFile() to implement wxRenameFile(overwrite=true)
  • dbd6758 Don't remove the old file before renaming new one to it
  • dae082c Correct German translation of "Ctrl" in internat sample
  • 7ab9447 Fix documentation of wxArrayString ctors taking C arrays
  • 5508427 Add missing wxTextCtrl styles to its XRC handler
  • 7cef03e Minor wording improvements in wxTextCtrl documentation
  • 89ba8f1 Add missing documentation for wxBoxSizer::InformFirstDirection()
  • 3482c83 Fix logic in wxTextWrapper::Wrap()
  • 416ad3b Fix wxTextWrapper::Wrap() when width is just at the word boundary
  • ef38af5 Recognize "current" and "pressed" wxBitmapButton buttons too
  • 23f0396 Improve padding of wxMenu and wxMenuItem in high DPI under MSW
  • 05851ab CMake: Set hidden symbol visibility properties
  • f0b6a1e CMake: Fix using static runtime with msvc and newer CMake
  • caf02c2 Fix undefining wxDEFINE_UNICHAR_CMP_WITH_INT
  • 6459875 Avoid warning about unused wxFatalExit() in wxMSW DLL build
  • 369adec Fix wrong row parameter in wxEVT_GRID_ROW_MOVE events
  • 863e019 Fix compilation errors when wxUSE_INTL is off
  • d647d8a Add subitem support to wxGenericListCtrl::HitTest()
  • 40b67f0 Work-around for "drag-end" signal not occurring with Wayland
  • c49132b Implement statusbar help text support in wxAuiToolBar
  • 6097d46 wxOSX: Implement clipboard events for single-line wxTextCtrl
  • c8f77c7 Include toolkit micro version in wxGetLibraryVersionInfo() too
  • d929174 Document wxDocManager::GetDocumentManager()
  • f376235 Use ubuntu-latest for checks not relying on any specific version
  • 1b65d4b Run Ubuntu 20.04 CI build using clang in a container
  • 53010e9 Switch a GitHub Actions build from Ubuntu 22.04 to 22.04
  • c8d538e Deal with the absence of lsb_release in the pre-build script
  • dfc2c6a Use FreeBSD 15 in Cirrus CI
  • 8d551f1 Avoid using a bashism in script returning CPU count
  • 9787d68 Use go-httpbin instead of python httpbin for the tests
  • 65ad684 Fix install names of macOS shared libraries
  • e818c8b Prevent last pixels cut-off in wxImage::ResampleNearest()
  • ecc3c22 Ignore unknown events read from IOCP in wxMSW wxFileSystemWatcher
  • baffc90 Fix showing labels of newly added wxNotebook pages in wxOSX
  • c79cdaa Run go-httpbin locally for MSW CI jobs on GitHub too
  • 8a366b9 Respect best control size when adding it to wxGTK wxToolBar
  • 61e1874 Don't do anything in wxGTK wxWindow::Update() under Wayland
  • 26b7fd5 Improve wxWindow::Update() documentation
  • 295f3d9 Fix webkit2-gtk FreeBSD port name for FreeBSD 15
  • 98c1585 Improve key events generation in wxGTK
  • 460a3a9 Generate wxEVT_ENTER_WINDOW in icon part of wxSearchCtrl in wxGTK
  • 7df9d14 Use --undefined-version with --version-script if supported
  • 391358f Avoid clang -Wnontrivial-memcall in wxLogRecordInfo
  • 2946449 Improve wxZeroMemory() and use it in more places
  • ece7822 Fix dangling references to temporaries in internat sample
  • 8c273b3 Fix build errors in wx/vector.h if "new" is redefined
  • 350a99b Restore support for years > 3000 in wxDateTime with MSVC CRT
  • 08fad69 Skip checking for docbook when running Expat configure
  • 7a91d09 Fix -Wdeprecated-copy-dtor warnings in wxMSW headers with gcc 14
  • c60ae44 Restore generation of wxEVT_CHAR events for Ctrl-Space in wxGTK
  • 213a194 Define MAC_OS_VERSION_14_0 and other possibly missing symbols
  • 1a757c2 Fix Z-level of wxStyledTextCtrl auto complete popup under Mac
  • 4ec1c4b Update libtool version for 3.2.7
  • d2528e2 Add new test file to manually maintained MSVS projects
  • d771756 Update release files for 3.2.7
  • d74ef99 Update the latest versions of supported compilers
  • a7d97b9 Don't use C++11 member initialization in wxToastEventHandler
  • a3e09d4 Update checksums of the 3.2.7 release files
  • d665183 Update version to 3.2.8
  • df560d0 Update Brazilian Portuguese translations for 3.2.7
  • 1709b22 Fix using GL and WebView when using cmake install
  • 5a102b4 Fix some event macro arguments in interface declarations
  • 1f5d7fb Fix crash in wxPropertyGrid with wxGTK3 after recent change
  • 45323d2 Put title before "wxWidgets" in HTML doc pages titles
  • 267e4f0 Add wxVector(std::initializer_list<U> list) ctor
  • 195dc18 Fix third party libraries build with Xcode 16.3
  • 1fd68ee Compare return value of GetWheelAxis() to enum values, not 0
  • 8a3460c Fix padding of wxMenu in high DPI under Windows 11
  • a087ce4 Add mouse scrolling support to generic wxSpinCtrl
  • 12e7d6b Update comment in wxEventLoopBase::Run()
  • 2b63ae7 Call OnExceptionInMainLoop() in wxGTK if idle event handler throws
  • 600803a Add @USER@ macro to HTML and RichText printers
  • b270f8b Fix page count display when there is only one page
  • 02b91a9 CMake: Fix lpthread linker warnings
  • 267cf6d CMake: Search for deprecated timezone function last
  • 806ac4b CMake: Build locale files in sub directory
  • d82e142 CMake: Add more c++ standard options
  • 2453dcb CMake: Fix checking wxQT cairo graphics context
  • 471bc0f Remove unused version assignments for inline functions
  • b1f4ff4 Merge branch 'cmake-improvements-3.2' of github.com:MaartenBent/wxWidgets into 3.2
  • ed70ea9 Define wxHAVE_VERSION_SCRIPT if linker supports version script
  • f3eb19c Fix ABI breakage for versioned symbols in 3.2.7
  • e6cafa6 Allow disabling using ELF symbols versions
  • ea91e3f Test for support for multiple ELF symbol versions in configure
  • 710fa51 Fix generating of WXK_NUMPADx key codes in wxGTK
  • 3ddb4f9 Generate key codes consistent with wxMSW for VK_OEM_xxx in wxGTK
  • 207cbef Compute wxStaticText best size ourselves if GTK does it wrongly
  • a22e124 Improve testing for ELF symver support in configure
  • 3e47bb0 Install awk before building to fix Fedora CI job
  • 6467e31 Suppress spurious gcc 15 -Wdangling-pointer in wxButtonBase
  • b2714df Merge branch '3.2-fix-versioned-syms' into 3.2
  • 40ed30b Add GCC version in MSW binaries information
  • 8aef5f4 Update release files for 3.2.8
  • 57a6237 Update SHA-1 sums for 3.2.8 release files
  • a3decee Update the version to 3.2.9
  • 24853d2 Do not activate CLOSE button on Cmd-C in wxOSX
  • fca3249 Fix handling window total size under GNOME with X11
  • eec195c Implement GetMainWindowOfCompositeControl for wxDataViewCtrl
  • 6269297 Fix defining ELF symbols versions when flavour is used
  • f2b8443 Fix test for .symver asm directive support in configure
  • 5db4aeb Add 3.2.8.1 section to the change log
  • e04485d Improve wxPropertyGrid::SetSortFunction() documentation
  • 5e82a93 Respect menu path style in wxFileHistory::AddFilesToMenu() too
  • 66c70c1 Fix determining best height of wxBitmapComboBox in wxGTK
  • f4f1d39 Fix wxGLCanvasEGL scale under Wayland in high DPI
  • 0781068 Fix font scaling when using wxGTK on Windows
  • f4a0928 Fix wxTreeCtrl indent regression
  • 8bd21d5 Backport CMake changes
  • fa13bf8 Don't crash on start up if macOS system font encoding is unknown
  • 5c0a6e3 Fix wxLogApiError() in wxNO_IMPLICIT_WXSTRING_ENCODING build
  • 3afd58c Fix memory leak in wxColour::Set() in wxOSX
  • 4f6a150 Use system default titlebar decorations under Wayland
  • d63adfd Don't assert in wxGridSizer::Calc{Cols,Rows}() if sizer is empty
  • 4704189 Avoid collapsing wxDVC node if already done by event handler
  • 26eb2a7 Fix crash when copying wxBitmaps in wxMSW if DIB creation fails
  • 135dd28 Leave only MSVS 2022 CI jobs
  • 21dbdf9 Fix wxGTK compilation with wxUSE_STD_STRING_CONV_IN_WXSTRING
  • 082d1fd Fix TAB behaviour in a panel with notebook as only active child
  • 769bddb Do generate wxEVT_CHAR for Ctrl-Letter even in non US layouts
  • 7be5d6b Really fix generic wxActivityIndicator dots contrast
  • 99daac0 Make wxPlatformInfo::Get() thread-safe
  • a456327 Fix assert checking for wxSocket flags compatibility
  • 30c0f6a Fix readlink problem in configure build under macOS < 12
  • c84d530 Fix wrong documentation of wxObjectDataPtr ctor
  • c13eadf Fix MSVS debug visualizer of wxStrings
  • da73abb Don't bother resetting wxStaticBitmap image when destroying it
  • 9b0dd38 Reduce GDI resource usage in wxMSW wxStaticBitmap
  • c363545 Fix window size after unmaximizing it in XFCE/MATE
  • 323016c Fix showing extra controls in wxFileDialog under macOS
  • ab1c1f2 Fix check for extended locale functions in CMake
  • 97a9f9b Fix broken wxMenuItem bitmap setting on macOS
  • 8d728c5 Initialize value to suppress false positive warning from MSVC
  • 498f4fe Document that wxIMPLEMENT_APP must be used in global scope
  • 82da387 Document wxIMPLEMENT_APP_NO_MAIN() too
  • 07495d6 Don't leak surface every time wxOverlay is used in wxGTK
  • 1f29d17 Fix Shift-TAB behaviour when notebook is the only active child
  • a6fc33b Don't link with unnecessary and now removed AGL framework
  • f2c432c Make wxGenericCalendarCtrl DPI aware
  • 84f27aa Silence warning about non-virtual dtor on VC++ <=2017
  • ed76f50 Clarify wxLog::SetActiveTarget()
  • 46cfa36 Fix nested markup conversion to NSAttributedString
  • f2cff7f Avoid using already destroyed timers in wxOSX
  • addef36 Fix harmless unused parameter warning in wxOSX
  • 978e2a2 Check that wxRibbonBar tab icon is valid before using it
  • 9de810e Improve padding when using HiDPI in generic wxDataViewCtrl
  • eb8287f Fix compilation with wxUSE_OWNER_DRAWN==0
  • 1a1a683 Fix selecting individual columns with Ctrl-Click in wxGrid
  • 04bd809 Fix bitmap position in wxDC::DrawLabel() in high DPI
  • 707cb8e Revert to using FreeBSD 14.2 for Cirrus CI builds
  • 925aaa5 Fix fatal assert when using box indicators in wxStyledTextCtrl
  • 9317d44 Fix handling filters in wxFileDialog in wxOSX
  • 2ec9a3c Recalculate wxGenericTreeCtrl line height after font change
  • 33d52db Fix compilation problem due to memset_s() when using PCH
  • 11d7b6f Use Scintilla as win32 classname for wxStyledTextCtrl
  • a5973f1 Forward all win32 messages to the Scintilla control
  • d921cac Merge branch 'scintilla-screenreader-3.2' of github.com:MaartenBent/wxWidgets into 3.2
  • bfdd0df Add support for HTML 5 charset attribute in wxHtmlParser
  • e883993 Fix building/running with GTK < 2.22
  • fe7a6e2 Remove wxAuiTabCtrl::OnEraseBackground()
  • d1aa517 Don't reinvent wxAutoBufferedPaintDC in wxAuiTabContainer code
  • 46d47d3 Use 24bpp backing store bitmap in wxMSW to speed up drawing on it
  • a06400f Support EGL 1.4 instead of previously required 1.5
  • 3953237 Do not log bogus system error in wxRenameFile()
  • e285091 Fix initial scale of wxGLCanvas under EGL/Wayland
  • 2db5b45 Backport CMake changes
  • 30e340f Use FreeBSD 14.3 for Cirrus CI job
  • eec6c4d Use better name for wxSpinCtrl::SetIncrement() arg in the docs
  • 21e076f Correct wxSpinEvent GetPosition() if start value is non-zero
  • c1129d0 Don't use border for button part of generic wxSpinCtrl
  • e9dcd4c Fix deleting wxTextCtrl in wxEVT_TEXT_ENTER handler in wxGTK
  • 870f101 Put change log entry for parent commit in the correct section
  • 4cc7ba1 Update release files for 3.2.9
  • 4ec643d Fix recently broken wxHTML build with libmspack
  • 2217493 Fix recent breakage to EGL-based wxGLCanvas
  • d81b22e Update full version to 3.2.9.1
  • d99383b Relax configure check for EGL version to accept 1.4
  • b7478d9 Don't refresh empty rectangle in generic wxHeaderCtrl
  • 640bc61 Get rid of unused variable in wxHeaderCtrl::OnPaint()
  • ff59392 Optimize generic wxHeaderCtrl drawing and work around wxOSX bug
  • 18bf648 Revert "Update full version to 3.2.9.1"
  • 8385ce2 Update version to 3.2.10
  • 3317812 Record check sums for 3.2.9 release
  • 2cfc293 Run wxMSW 64-bit CI builds on Debian stable
  • 8b6d46e Document wxObjectRefData as a typedef (vs class)
  • ea45ac7 Fix wxChoice::GetBestSize() on macOS 26
  • 73f6213 Update copyright years to 2026
  • 0d2c29b Don't use first image for wxListCtrl items without any image
  • 833ac77 wxRichTextCtrl: Enhance macOS key bindings
  • cc1c23b Handle font names longer than 31 characters in wxMSW
  • 5debc95 Ensure that application is always shown after launch under macOS
  • bba76b7 Document actual behaviour of wxPoint ctor from wxRealPoint
  • 019bfa8 Fix wx/stc/stc.h compilation with wxNO_IMPLICIT_WXSTRING_ENCODING
  • 86a1868 Avoid clang -Wshorten-64-to-32 in wx/stc/stc.h
  • 638495b Test wx/stc/stc.h in the "all headers" test too
  • 2f9d715 Fix multiline raw string syntax in gen_iface.py
  • c2f6005 Regenerate interface docs for wxSTC after gen_iface.py fix
  • 01752e9 Improve documentation of null wxDialog parent
  • d6cd26e Fix wrong destruction of wxBitmap in wxMSW wxStaticBitmap
  • 7ab6462 Merge branch 'backport-stc-fix' of github.com:arch1t3cht/wxWidgets into 3.2
  • 2ebaa0a Back port macOS 26 controls fixes from 3.3
  • c5dddf5 Add support for MSVS 2026
  • 4d0e15d Fix marking wrong item as being deleted in wxOSX wxDataViewCtrl
  • cf16a89 Rename wxOSXDVCDeleting::m_parent to m_item
  • 81ebf59 Document wxGetStockHelpString() function
  • 14c2b46 Minor corrections to standard IDs documentation
  • 0910d8f Fix crash on key press in wxDataViewCtrl in wxOSX
  • dd7a3da Fix using invalid filter index in wxOSX wxFileDialog
  • 22a3160 wxQt: Add cairo_surface_get_device_scale method

File Changes

(300Ā files)

Patch Links:

—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26219@github.com>

Carlo Bramini

unread,
8:45 AMĀ (13 hours ago)Ā 8:45 AM
to wx-...@googlegroups.com, Subscribed

Closed #26219.

—
Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26219/issue_event/22968589500@github.com>

Carlo Bramini

unread,
8:45 AMĀ (13 hours ago)Ā 8:45 AM
to wx-...@googlegroups.com, Subscribed
carlo-bramini left a comment (wxWidgets/wxWidgets#26219)

Excuse me, it looks like I did some mistakes because this PR is applied to master rather than 3.2.

—
Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26219/c3938802581@github.com>

Reply all
Reply to author
Forward
0 new messages