#if wxUSE_SPINBTN
#include "wx/utils.h"
-
-#include <math.h>
-
+#include "wx/math.h"
#include "wx/gtk/private.h"
//-----------------------------------------------------------------------------
wxSize wxSpinButton::DoGetBestSize() const
{
- return wxSize(15, 26); // FIXME
+ wxSize best(15, 26); // FIXME
+ CacheBestSize(best);
+ return best;
}
// static