]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/gauge95.cpp
removed wxDialog::SetSize() which just called wxWindow::SetSize()
[wxWidgets.git] / src / msw / gauge95.cpp
index e48513d6808526355d317f6919f6b7437f8619e8..31b9f85f19bcd037d616c96a17183c04d25a9f3c 100644 (file)
@@ -81,12 +81,12 @@ bool wxGauge95::Create(wxWindow *parent, wxWindowID id,
 
   SendMessage((HWND) GetHWND(), PBM_SETRANGE, 0, MAKELPARAM(0, range));
 
-  SetFont(parent->GetFont());
+  SetFont(parent->GetFont());
 
   if (width == -1)
     width = 50;
   if (height == -1)
-    height = 50;
+    height = 28;
   SetSize(x, y, width, height);
 
   ShowWindow((HWND) GetHWND(), SW_SHOW);