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:
parent
b0351fc91e
commit
04a6512306
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user