wxDFB: implemented Raise() and Lower() for TLWs

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2008-06-04 21:50:06 +00:00
parent 79478afacd
commit 84e455807e
3 changed files with 19 additions and 0 deletions

View File

@@ -59,6 +59,9 @@ public:
virtual void Update();
virtual void Raise();
virtual void Lower();
// implementation from now on
// --------------------------

View File

@@ -434,6 +434,12 @@ struct wxIDirectFBWindow : public wxDfbWrapper<IDirectFBWindow>
bool SetStackingClass(DFBWindowStackingClass klass)
{ return Check(m_ptr->SetStackingClass(m_ptr, klass)); }
bool RaiseToTop()
{ return Check(m_ptr->RaiseToTop(m_ptr)); }
bool LowerToBottom()
{ return Check(m_ptr->LowerToBottom(m_ptr)); }
wxIDirectFBSurfacePtr GetSurface()
{
IDirectFBSurface *s;

View File

@@ -259,6 +259,16 @@ bool wxNonOwnedWindow::Show(bool show)
return true;
}
void wxNonOwnedWindow::Raise()
{
m_dfbwin->RaiseToTop();
}
void wxNonOwnedWindow::Lower()
{
m_dfbwin->LowerToBottom();
}
// ----------------------------------------------------------------------------
// surfaces and painting
// ----------------------------------------------------------------------------