X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2b5f62a0b2db198609b45dec622a018dae37008e..83e96c90f82279b6404cff14ebab4b0aa4f32480:/src/generic/busyinfo.cpp?ds=inline diff --git a/src/generic/busyinfo.cpp b/src/generic/busyinfo.cpp index 830546db0c..69ebc54ead 100644 --- a/src/generic/busyinfo.cpp +++ b/src/generic/busyinfo.cpp @@ -6,7 +6,7 @@ // Licence: wxWindows Licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "busyinfo.h" #endif @@ -105,9 +105,13 @@ wxBusyInfo::wxBusyInfo(const wxString& message, wxWindow *parent) { m_InfoFrame = new wxInfoFrame( parent, message); m_InfoFrame->Show(TRUE); +#ifdef __WXMAC__ + m_InfoFrame->Update() ; +#else wxYield(); m_InfoFrame->Refresh(); wxYield(); +#endif } wxBusyInfo::~wxBusyInfo()