X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/68b767bf8891951dad85a8ec74b71c38027934fd..275a63e3a6dc26c411c39a557be003bc4f2aaaaa:/src/generic/busyinfo.cpp?ds=sidebyside diff --git a/src/generic/busyinfo.cpp b/src/generic/busyinfo.cpp index 5acc107333..ad0bd8af6b 100644 --- a/src/generic/busyinfo.cpp +++ b/src/generic/busyinfo.cpp @@ -12,7 +12,7 @@ #include "wx/wxprec.h" -#ifdef __BORDLANDC__ +#ifdef __BORLANDC__ #pragma hdrstop #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()