X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/174046a33c496de95e0703de14bdff15e54b3d14..01c500af65d6e42b407e850348458e299a824653:/src/x11/reparent.cpp 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 } }