Added wxTopLevelWindow::SetTranslucency and CanSetTranslucency, with
implementations (so far) for wxMSW and wxMac. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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();
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user