]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/gauge95.cpp
wxListCtrl column resize bug corrected
[wxWidgets.git] / src / msw / gauge95.cpp
index f671fb2c7eb44f958e84ed153718fee09d3e55b2..3f934a58c082f31407b2f5ab302d83482d93c33d 100644 (file)
@@ -29,7 +29,7 @@
 #include "wx/msw/gauge95.h"
 #include "wx/msw/private.h"
 
-#if defined(__WIN95__) && !defined(__GNUWIN32__)
+#if (defined(__WIN95__) && !defined(__GNUWIN32__)) || defined(__TWIN32__)
 #include <commctrl.h>
 #endif
 
@@ -86,7 +86,7 @@ bool wxGauge95::Create(wxWindow *parent, wxWindowID id,
   if (width == -1)
     width = 50;
   if (height == -1)
-    height = 50;
+    height = 28;
   SetSize(x, y, width, height);
 
   ShowWindow((HWND) GetHWND(), SW_SHOW);