X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/174046a33c496de95e0703de14bdff15e54b3d14..1978421a6d8b81c1f8a961da4b8ddf544fec7b1b:/src/x11/reparent.cpp?ds=sidebyside diff --git a/src/x11/reparent.cpp b/src/x11/reparent.cpp index 5ea7b27c15..7e76d2334d 100644 --- a/src/x11/reparent.cpp +++ b/src/x11/reparent.cpp @@ -17,7 +17,7 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "reparent.h" #endif @@ -169,7 +169,7 @@ bool wxReparenter::WaitAndReparent(wxWindow* newParent, wxAdoptedWindow* toRepar { #if wxUSE_TIMER wxTimer::NotifyTimers(); - wxTheApp->SendIdleEvents(); + wxTheApp->ProcessIdle(); #endif } }