mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-09-25 17:15:45 +08:00
Update wxBG_STYLE_TRANSPARENT documentation
This commit is contained in:
+3
-2
@@ -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,
|
||||
};
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user