]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/gtk/_core.py
text attributes corrected
[wxWidgets.git] / wxPython / src / gtk / _core.py
index e7181d1f6b2a69458a027bc7ffcd2e1273f98d6e..09abfe6f0cc74f5ec92c961058705b9c6827c5d7 100644 (file)
@@ -7678,8 +7678,8 @@ class Window(EvtHandler):
         ShouldInheritColours to return false, the colours will not be changed
         no matter what and only the font might.
 
-        This rather complicated logic is necessary in order to accomodate the
-        different usage scenarius. The most common one is when all default
+        This rather complicated logic is necessary in order to accommodate the
+        different usage scenarios. The most common one is when all default
         attributes are used and in this case, nothing should be inherited as
         in modern GUIs different controls use different fonts (and colours)
         than their siblings so they can't inherit the same value from the
@@ -9444,13 +9444,13 @@ class Sizer(Object):
         """
         A convenience method for Show(item, False, recursive).
         """
-        return self.Show(item, false, recursive)
+        return self.Show(item, False, recursive)
 
     def ShowItems(*args, **kwargs):
         """
         ShowItems(self, bool show)
 
-        Recursively call `wx.Window.Show` on all sizer items.
+        Recursively call `wx.SizerItem.Show` on all sizer items.
         """
         return _core_.Sizer_ShowItems(*args, **kwargs)
 
@@ -10262,6 +10262,15 @@ class GridBagSizer(FlexGridSizer):
         """
         return _core_.GridBagSizer_AddItem(*args, **kwargs)
 
+    def GetCellSize(*args, **kwargs):
+        """
+        GetCellSize(self, int row, int col) -> Size
+
+        Get the size of the specified cell, including hgap and
+        vgap.  Only valid after a Layout.
+        """
+        return _core_.GridBagSizer_GetCellSize(*args, **kwargs)
+
     def GetEmptyCellSize(*args, **kwargs):
         """
         GetEmptyCellSize(self) -> Size