git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11726
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
bool hasAbortButton = (style & wxPD_CAN_ABORT) != 0;
bool hasAbortButton = (style & wxPD_CAN_ABORT) != 0;
+#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
//
// we have to remove the "Close" button from the title bar then as it is
// confusing to have it - it doesn't work anyhow
//
// tell the user what he should do...
m_btnAbort->SetLabel(_("Close"));
}
// tell the user what he should do...
m_btnAbort->SetLabel(_("Close"));
}
+#if defined(__WXMSW__) && !defined(__WXUNIVERSAL__)
else // enable the close button to give the user a way to close the dlg
{
EnableCloseButton(TRUE);
else // enable the close button to give the user a way to close the dlg
{
EnableCloseButton(TRUE);
#undef WXDEBUG_SCROLLBAR
#endif // !__WXDEBUG__
#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
// ----------------------------------------------------------------------------
// 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
#undef WXDEBUG_REFRESH
#endif
#undef WXDEBUG_REFRESH
#endif
+#if defined(WXDEBUG_REFRESH) && defined(__WXMSW__) && !defined(__WXMICROWIN__)
+#include "wx/msw/private.h"
+#endif
+
// ============================================================================
// implementation
// ============================================================================
// ============================================================================
// implementation
// ============================================================================