compilation fixes for MSW+Univ+Mingw32

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2001-09-28 19:19:43 +00:00
parent ea1b0d6ccb
commit cff7ef893d
3 changed files with 10 additions and 2 deletions

View File

@@ -93,7 +93,7 @@ wxProgressDialog::wxProgressDialog(wxString const &title,
bool hasAbortButton = (style & wxPD_CAN_ABORT) != 0;
#ifdef __WXMSW__
#if defined(__WXMSW__) && !defined(__WXUNIVERSAL__)
// we have to remove the "Close" button from the title bar then as it is
// confusing to have it - it doesn't work anyhow
//
@@ -329,7 +329,7 @@ wxProgressDialog::Update(int value, const wxString& newmsg)
// tell the user what he should do...
m_btnAbort->SetLabel(_("Close"));
}
#ifdef __WXMSW__
#if defined(__WXMSW__) && !defined(__WXUNIVERSAL__)
else // enable the close button to give the user a way to close the dlg
{
EnableCloseButton(TRUE);