]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/GridStdEdRend.py
use Windows standard icons instead of our own (patch 443856)
[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...
         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)
         self.AutoSizeRows(true)
 
         EVT_GRID_CELL_LEFT_DCLICK(self, self.OnLeftDClick)