X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4a983d2c630086e0a3251be1fcf4dd049b234119..50f3c41d61bd9ae69f215bad923f562d509e063c:/wxPython/src/_toplvl.i diff --git a/wxPython/src/_toplvl.i b/wxPython/src/_toplvl.i index e9e6c60fd1..c9aa280142 100644 --- a/wxPython/src/_toplvl.i +++ b/wxPython/src/_toplvl.i @@ -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(); + };