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
This commit is contained in:
Julian Smart 1999-05-06 08:31:56 +00:00
parent b0351fc91e
commit 04a6512306

View File

@ -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;