]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/sizer.cpp
inserted casts allowing to have arrays of function pointers -- this is wrong but...
[wxWidgets.git] / src / common / sizer.cpp
index dfe492531dff16e4ab2c88c23de567970ab1bab4..9e430cdb84bcbe1418c59dc14194bafda8279840 100644 (file)
@@ -1419,8 +1419,8 @@ static void GetStaticBoxBorders( wxStaticBox *box,
         *borderTop = 5;
     else
 #endif // __WXGTK__
-        *borderTop = 15;
-    (void)box;
+        *borderTop = box->GetCharHeight();
+
     *borderOther = 5;
 }