diff --git a/src/dfb/evtloop.cpp b/src/dfb/evtloop.cpp index 3cc18ac290..ee7154ff1e 100644 --- a/src/dfb/evtloop.cpp +++ b/src/dfb/evtloop.cpp @@ -29,6 +29,7 @@ #include "wx/timer.h" #include "wx/private/socketevtdispatch.h" #include "wx/dfb/private.h" +#include "wx/nonownedwnd.h" #define TRACE_EVENTS _T("events") @@ -166,7 +167,7 @@ void wxEventLoop::HandleDFBEvent(const wxDFBEvent& event) case DFEC_WINDOW: { wxDFBWindowEvent winevent(((const DFBEvent&)event).window); - wxTopLevelWindowDFB::HandleDFBWindowEvent(winevent); + wxNonOwnedWindow::HandleDFBWindowEvent(winevent); break; }