]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/gauge.cpp
fixed setting of initial font under wxGTK2
[wxWidgets.git] / src / gtk1 / gauge.cpp
index b6cd78c4c5a4c1905bc56b3a5e8eef5647d59999..7fe754a52e2f6a68a1ac1de0925ea6e787a1f43e 100644 (file)
@@ -72,10 +72,10 @@ void wxGauge::DoSetGauge()
 
 wxSize wxGauge::DoGetBestSize() const
 {
-    if (HasFlag(wxGA_HORIZONTAL))
-        return wxSize(100, 28);
-    else
+    if (HasFlag(wxGA_VERTICAL))
         return wxSize(28, 100);
+    else
+        return wxSize(100, 28);
 }
 
 void wxGauge::SetRange( int range )