clean DFB event buffer on shutdown
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -52,6 +52,12 @@ void wxEventLoop::InitBuffer()
|
||||
ms_buffer = wxIDirectFB::Get()->CreateEventBuffer();
|
||||
}
|
||||
|
||||
/* static */
|
||||
void wxEventLoop::CleanUp()
|
||||
{
|
||||
ms_buffer.Reset();
|
||||
}
|
||||
|
||||
/* static */
|
||||
wxIDirectFBEventBufferPtr wxEventLoop::GetDirectFBEventBuffer()
|
||||
{
|
||||
@@ -125,8 +131,6 @@ void wxEventLoop::OnNextIteration()
|
||||
#endif
|
||||
}
|
||||
|
||||
#warning "FIXME: cleanup wxEventLoop::ms_buffer before exiting"
|
||||
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// DirectFB -> wxWidgets events translation
|
||||
|
||||
Reference in New Issue
Block a user