]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/window.h
in debug mode when clicking with the middle mouse button draw borders around all...
[wxWidgets.git] / include / wx / window.h
index 9ae3e478484afb58e2da1265d7dee18b49f48d58..06d52fc8351e41e278da2ab401412acc05cbd7f9 100644 (file)
@@ -374,12 +374,8 @@ public:
         // get the size best suited for the window (in fact, minimal
         // acceptable size using which it will still look "nice" in
         // most situations)
-    wxSize GetBestSize() const
-    {
-        if (m_bestSizeCache.IsFullySpecified())
-            return m_bestSizeCache;
-        return DoGetBestSize();
-    }
+    wxSize GetBestSize() const;
+    
     void GetBestSize(int *w, int *h) const
     {
         wxSize s = GetBestSize();