]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/spinbutt.cpp
adaptions to m_peer methods
[wxWidgets.git] / src / gtk / spinbutt.cpp
index a62d2c121e62f90a8f2dbb0dc9338421d3a54fb3..4ac29c9c25293162939e072286cef309c8dc3e65 100644 (file)
@@ -227,7 +227,9 @@ bool wxSpinButton::IsOwnGtkWindow( GdkWindow *window )
 
 wxSize wxSpinButton::DoGetBestSize() const
 {
-    return wxSize(15, 26); // FIXME
+    wxSize best(15, 26); // FIXME
+    CacheBestSize(best);
+    return best;
 }
 
 // static