]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/grid/griddemo.cpp
report Unicode characters when reporting EVT_CHAR in keyboard sample
[wxWidgets.git] / samples / grid / griddemo.cpp
index a3c6b4287c04002f9cc2587a60198db0b90e07a0..363fa804726154a6e31e0d0cb2669864096f9bb1 100644 (file)
@@ -371,10 +371,7 @@ GridFrame::GridFrame()
                    wxEXPAND );
 #endif // wxUSE_LOG
 
-    SetAutoLayout(true);
-    SetSizer( topSizer );
-
-    topSizer->Fit( this );
+    SetSizerAndFit( topSizer );
 
     Centre();
     SetDefaults();