X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/52c8d32a71bb7553dd89324fa6d56faac95eb5d0..a0020fcd54b43f28e9c72ebf0516b0751a08536b:/src/dfb/evtloop.cpp 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