From 04a65123066ad12076f42d6ef259eae378e73761 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Thu, 6 May 1999 08:31:56 +0000 Subject: [PATCH] Defined PBS_SMOOTH, PBS_VERTICAL in gauge95.cpp, if required git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/gauge95.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/msw/gauge95.cpp b/src/msw/gauge95.cpp index 9e16993a83..f0e0bc8932 100644 --- a/src/msw/gauge95.cpp +++ b/src/msw/gauge95.cpp @@ -68,9 +68,18 @@ bool wxGauge95::Create(wxWindow *parent, wxWindowID id, int height = size.y; long msFlags = WS_CHILD | WS_VISIBLE | WS_TABSTOP; + +#ifndef PBS_VERTICAL +#define PBS_VERTICAL 0x04 +#endif + if (m_windowStyle & wxGA_VERTICAL) msFlags |= PBS_VERTICAL; +#ifndef PBS_SMOOTH +#define PBS_SMOOTH 0x01 +#endif + if (m_windowStyle & wxGA_SMOOTH) msFlags |= PBS_SMOOTH;