]> git.saurik.com Git - wxWidgets.git/commitdiff
Defined PBS_SMOOTH, PBS_VERTICAL in gauge95.cpp, if required
authorJulian Smart <julian@anthemion.co.uk>
Thu, 6 May 1999 08:31:56 +0000 (08:31 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Thu, 6 May 1999 08:31:56 +0000 (08:31 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/gauge95.cpp

index 9e16993a8336ed78b772708b53595e0028cfda5d..f0e0bc8932ec7021e7513b3f0bd471e7ec7f5615 100644 (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;