]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_toplvl.i
Added wxTopLevelWindow::SetTranslucency and CanSetTranslucency, with
[wxWidgets.git] / wxPython / src / _toplvl.i
index e9e6c60fd153789bedd2cbd5d92e4d7401d8b292..c9aa280142cf51a934a720e5b3b2949b509636bb 100644 (file)
@@ -162,6 +162,18 @@ public:
         void , CenterOnScreen(int dir = wxBOTH),
         "Center the window on screen", "");
     %pythoncode { CentreOnScreen = CenterOnScreen }
+
+#ifdef __WXMSW__
+    bool EnableCloseButton(bool enable = true);
+#else
+    %extend {
+        bool EnableCloseButton(bool enable = true) { return false; }
+    }
+#endif
+
+    virtual bool SetTranslucency(int alpha); 
+    virtual bool CanSetTranslucency();
+
 };