From cff7ef893d9ddea0c90abd6d4b9281be3d809370 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Fri, 28 Sep 2001 19:19:43 +0000 Subject: [PATCH] compilation fixes for MSW+Univ+Mingw32 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/progdlgg.cpp | 4 ++-- src/univ/scrolbar.cpp | 4 ++++ src/univ/winuniv.cpp | 4 ++++ 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/generic/progdlgg.cpp b/src/generic/progdlgg.cpp index 4fc3c97542..12a2aa1797 100644 --- a/src/generic/progdlgg.cpp +++ b/src/generic/progdlgg.cpp @@ -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); diff --git a/src/univ/scrolbar.cpp b/src/univ/scrolbar.cpp index 0bb2d38f6a..ba6e499d57 100644 --- a/src/univ/scrolbar.cpp +++ b/src/univ/scrolbar.cpp @@ -49,6 +49,10 @@ #undef WXDEBUG_SCROLLBAR #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 // when the mouse is help pressed on the arrow or on the bar. It generates the diff --git a/src/univ/winuniv.cpp b/src/univ/winuniv.cpp index 69e3c6cd2f..18242c45b5 100644 --- a/src/univ/winuniv.cpp +++ b/src/univ/winuniv.cpp @@ -54,6 +54,10 @@ #undef WXDEBUG_REFRESH #endif +#if defined(WXDEBUG_REFRESH) && defined(__WXMSW__) && !defined(__WXMICROWIN__) +#include "wx/msw/private.h" +#endif + // ============================================================================ // implementation // ============================================================================ -- 2.45.2