Move CanSetTransparent and SetTransparent up to wxWindowBase since

wxMac can handle transparency at that level.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2006-08-21 18:30:34 +00:00
parent 4caf1fc560
commit b58d5e2d95
4 changed files with 32 additions and 9 deletions

View File

@@ -196,10 +196,6 @@ public:
void CentreOnScreen(int dir = wxBOTH) { DoCentre(dir | wxCENTRE_ON_SCREEN); }
void CenterOnScreen(int dir = wxBOTH) { CentreOnScreen(dir); }
// Set window transparency if the platform supports it
virtual bool SetTransparent(wxByte WXUNUSED(alpha)) { return false; }
virtual bool CanSetTransparent() { return false; }
// default item access: we have a permanent default item which is the one
// set by the user code but we may also have a temporary default item which