]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/GridStdEdRend.py
Added compatibility file
[wxWidgets.git] / wxPython / demo / GridStdEdRend.py
index 5ad7c752d54b29aac124b9b08d4321540e1e8f6e..b4a3db3c36ea453fb7e01fdcdd1e95cc21bf590c 100644 (file)
@@ -146,8 +146,7 @@ Renderers used together.
         self.SetColAttr(edCol, attr)
 
         # There is a bug in wxGTK for this method...
-        if wxPlatform != '__WXGTK__':
-            self.AutoSizeColumns(true)
+        self.AutoSizeColumns(true)
         self.AutoSizeRows(true)
 
         EVT_GRID_CELL_LEFT_DCLICK(self, self.OnLeftDClick)