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
// override some base class virtuals
virtual bool Destroy();
virtual bool IsTopLevel() const { return true; }
+ virtual bool IsVisible() const { return IsShown(); }
virtual wxSize GetMaxSize() const;
// event handlers
#elif defined(__WXMGL__)
#include "wx/mgl/toplevel.h"
#define wxTopLevelWindowNative wxTopLevelWindowMGL
+#elif defined(__WXDFB__)
+ #include "wx/dfb/toplevel.h"
+ #define wxTopLevelWindowNative wxTopLevelWindowDFB
#elif defined(__WXMAC__)
#include "wx/mac/toplevel.h"
#define wxTopLevelWindowNative wxTopLevelWindowMac