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:
@@ -59,6 +59,9 @@ public:
|
|||||||
|
|
||||||
virtual void Update();
|
virtual void Update();
|
||||||
|
|
||||||
|
virtual void Raise();
|
||||||
|
virtual void Lower();
|
||||||
|
|
||||||
// implementation from now on
|
// implementation from now on
|
||||||
// --------------------------
|
// --------------------------
|
||||||
|
|
||||||
|
@@ -434,6 +434,12 @@ struct wxIDirectFBWindow : public wxDfbWrapper<IDirectFBWindow>
|
|||||||
bool SetStackingClass(DFBWindowStackingClass klass)
|
bool SetStackingClass(DFBWindowStackingClass klass)
|
||||||
{ return Check(m_ptr->SetStackingClass(m_ptr, 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()
|
wxIDirectFBSurfacePtr GetSurface()
|
||||||
{
|
{
|
||||||
IDirectFBSurface *s;
|
IDirectFBSurface *s;
|
||||||
|
@@ -259,6 +259,16 @@ bool wxNonOwnedWindow::Show(bool show)
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void wxNonOwnedWindow::Raise()
|
||||||
|
{
|
||||||
|
m_dfbwin->RaiseToTop();
|
||||||
|
}
|
||||||
|
|
||||||
|
void wxNonOwnedWindow::Lower()
|
||||||
|
{
|
||||||
|
m_dfbwin->LowerToBottom();
|
||||||
|
}
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// surfaces and painting
|
// surfaces and painting
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
Reference in New Issue
Block a user