]> git.saurik.com Git - wxWidgets.git/blobdiff - src/x11/reparent.cpp
fix warnings due to using deprecated-but-used-internally methods from the header...
[wxWidgets.git] / src / x11 / reparent.cpp
index d43de94906534221e9dfd92cc886ccad9cddcf2f..ac394ccf1a9512c599d4b230973715591fa13646 100644 (file)
 #ifndef WX_PRECOMP
     #include "wx/log.h"
     #include "wx/app.h"
+    #include "wx/timer.h"
 #endif
 
 #include "wx/evtloop.h"
-#include "wx/timer.h"
 
 #include "wx/x11/private.h"
 #include "X11/Xatom.h"
 
+#include "wx/generic/private/timer.h"
+
 /*
  * wxAdoptedWindow
  */
@@ -173,7 +175,7 @@ bool wxReparenter::WaitAndReparent(wxWindow* newParent, wxAdoptedWindow* toRepar
         else
         {
 #if wxUSE_TIMER
-            wxTimer::NotifyTimers();
+            wxGenericTimerImpl::NotifyTimers();
             wxTheApp->ProcessIdle();
 #endif
         }