mac fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2004-03-27 08:51:10 +00:00
parent a848cd7e10
commit f89d65ea8d
3 changed files with 37 additions and 5 deletions

View File

@@ -270,7 +270,7 @@ wxProgressDialog::wxProgressDialog(wxString const &title,
wxYield();
#ifdef __WXMAC__
MacUpdateImmediately();
Update();
#endif
}
@@ -284,7 +284,7 @@ wxStaticText *wxProgressDialog::CreateLabel(const wxString& text,
// VZ: I like the labels be centered - if the others don't mind, you may
// remove "#ifdef __WXMSW__" and use it for all ports
#if defined(__WXMSW__) || defined(__WXPM__)
#if defined(__WXMSW__) || defined(__WXPM__) || defined(__WXMAC__)
c->left.SameAs(this, wxCentreX, LAYOUT_X_MARGIN);
#else // !MSW
c->right.SameAs(this, wxRight, 2*LAYOUT_X_MARGIN);
@@ -391,7 +391,7 @@ wxProgressDialog::Update(int value, const wxString& newmsg)
}
#ifdef __WXMAC__
MacUpdateImmediately();
Update();
#endif
return m_state != Canceled;