X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/60169b7a51f096b48ac5916834aef220d4cc9e97..6bdeda4785ad7313926a79d8c900ff8019d54f64:/src/gtk/toplevel.cpp?ds=sidebyside diff --git a/src/gtk/toplevel.cpp b/src/gtk/toplevel.cpp index 1a712ae824..bf4cec07be 100644 --- a/src/gtk/toplevel.cpp +++ b/src/gtk/toplevel.cpp @@ -1325,7 +1325,7 @@ static Window wxGetTopmostWindowX11(Display *dpy, Window child) bool wxTopLevelWindowGTK::SetTransparent(wxByte alpha) { - if (!m_widget || !m_widget->window || !CanSetTransparent()) + if (!m_widget || !m_widget->window) return false; Display* dpy = GDK_WINDOW_XDISPLAY (m_widget->window);