]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/gauge95.cpp
remove EVT_STC_POSCHANGED as it's been deprecated in Scintilla for
[wxWidgets.git] / src / msw / gauge95.cpp
index d2a7b58b2315b20df34e8297ae3167100d1c6920..6b176c92ec77ce780f6cfddf4b82180f2512cee1 100644 (file)
@@ -171,10 +171,10 @@ wxSize wxGauge95::DoGetBestSize() const
 {
     // VZ: no idea where does 28 come from, it was there before my changes and
     //     as nobody ever complained I guess we can leave it...
-    if (HasFlag(wxGA_HORIZONTAL))
-        return wxSize(100, 28);
+    if (HasFlag(wxGA_VERTICAL))
+        return wxSize(28, 100);
     else
-        return wxSize(28,100);
+        return wxSize(100, 28);
 }
 
 // ----------------------------------------------------------------------------