]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/mac/_core.py
wxCheckListBox doesn't require wxUSE_OWNER_DRAWN when using WXUNIVERSAL
[wxWidgets.git] / wxPython / src / mac / _core.py
index a0b2917eeed7291b6df5b083dca31cb29270d8b1..66cd8e452b86b02ce9712b43b77f9bd89ea54e47 100644 (file)
@@ -8199,6 +8199,15 @@ class Window(EvtHandler):
         """
         return _core_.Window_InvalidateBestSize(*args, **kwargs)
 
+    def CacheBestSize(*args, **kwargs):
+        """
+        CacheBestSize(self, Size size)
+
+        Cache the best size so it doesn't need to be calculated again, (at least until
+        some properties of the window change.)
+        """
+        return _core_.Window_CacheBestSize(*args, **kwargs)
+
     def GetBestFittingSize(*args, **kwargs):
         """
         GetBestFittingSize(self) -> Size