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; 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 // we have to remove the "Close" button from the title bar then as it is
// confusing to have it - it doesn't work anyhow // 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... // tell the user what he should do...
m_btnAbort->SetLabel(_("Close")); 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 else // enable the close button to give the user a way to close the dlg
{ {
EnableCloseButton(TRUE); EnableCloseButton(TRUE);

View File

@@ -49,6 +49,10 @@
#undef WXDEBUG_SCROLLBAR #undef WXDEBUG_SCROLLBAR
#endif // !__WXDEBUG__ #endif // !__WXDEBUG__
#if defined(WXDEBUG_SCROLLBAR) && defined(__WXMSW__) && !defined(__WXMICROWIN__)
#include "wx/msw/private.h"
#endif
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// wxScrollBarTimer: this class is used to repeatedly scroll the scrollbar // wxScrollBarTimer: this class is used to repeatedly scroll the scrollbar
// when the mouse is help pressed on the arrow or on the bar. It generates the // when the mouse is help pressed on the arrow or on the bar. It generates the

View File

@@ -54,6 +54,10 @@
#undef WXDEBUG_REFRESH #undef WXDEBUG_REFRESH
#endif #endif
#if defined(WXDEBUG_REFRESH) && defined(__WXMSW__) && !defined(__WXMICROWIN__)
#include "wx/msw/private.h"
#endif
// ============================================================================ // ============================================================================
// implementation // implementation
// ============================================================================ // ============================================================================