wxMac just using Update()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -105,9 +105,13 @@ wxBusyInfo::wxBusyInfo(const wxString& message, wxWindow *parent)
|
|||||||
{
|
{
|
||||||
m_InfoFrame = new wxInfoFrame( parent, message);
|
m_InfoFrame = new wxInfoFrame( parent, message);
|
||||||
m_InfoFrame->Show(TRUE);
|
m_InfoFrame->Show(TRUE);
|
||||||
|
#ifdef __WXMAC__
|
||||||
|
m_InfoFrame->Update() ;
|
||||||
|
#else
|
||||||
wxYield();
|
wxYield();
|
||||||
m_InfoFrame->Refresh();
|
m_InfoFrame->Refresh();
|
||||||
wxYield();
|
wxYield();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
wxBusyInfo::~wxBusyInfo()
|
wxBusyInfo::~wxBusyInfo()
|
||||||
|
Reference in New Issue
Block a user