Update wxBG_STYLE_TRANSPARENT documentation

This commit is contained in:
ali kettab
2025-05-03 08:37:25 +01:00
parent fcb73caa32
commit 845a87362f
2 changed files with 5 additions and 4 deletions
+3 -2
View File
@@ -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,
};
+2 -2
View File
@@ -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