X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/52c8d32a71bb7553dd89324fa6d56faac95eb5d0..8168167976dc3cc5f5223a21e1a62ba91a4f77b3:/src/dfb/evtloop.cpp?ds=sidebyside diff --git a/src/dfb/evtloop.cpp b/src/dfb/evtloop.cpp index 78bca48df8..52b940c9f4 100644 --- a/src/dfb/evtloop.cpp +++ b/src/dfb/evtloop.cpp @@ -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