From 845a87362fc93c4f91ae67fde72682522e14f1de Mon Sep 17 00:00:00 2001 From: ali kettab Date: Sat, 3 May 2025 08:37:25 +0100 Subject: [PATCH] Update wxBG_STYLE_TRANSPARENT documentation --- interface/wx/defs.h | 5 +++-- interface/wx/window.h | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/interface/wx/defs.h b/interface/wx/defs.h index 57b01bec03..16fc5301c3 100644 --- a/interface/wx/defs.h +++ b/interface/wx/defs.h @@ -537,8 +537,9 @@ enum wxBackgroundStyle Indicates that the window background is not erased, letting the parent window show through. - Currently this style is only supported in wxOSX and wxGTK with - compositing available, see wxWindow::IsTransparentBackgroundSupported(). + This style is only supported in wxOSX, wxGTK with compositing available, + wxMSW since 3.3.0 and wxQt. + see wxWindow::IsTransparentBackgroundSupported(). */ wxBG_STYLE_TRANSPARENT, }; diff --git a/interface/wx/window.h b/interface/wx/window.h index 14220c50de..6bdb13a43a 100644 --- a/interface/wx/window.h +++ b/interface/wx/window.h @@ -2441,8 +2441,8 @@ public: problem. - Under wxGTK, wxOSX and wxMSW, you can use ::wxBG_STYLE_TRANSPARENT to obtain - full transparency of the window background. Note that wxGTK supports + Under wxGTK, wxOSX, wxMSW and wxQt, you can use ::wxBG_STYLE_TRANSPARENT to + obtain full transparency of the window background. Note that wxGTK supports this only since GTK 2.12 with a compositing manager enabled, call IsTransparentBackgroundSupported() to check whether this is the case, see the example of doing it in @ref page_samples_shaped "the shaped