]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/glcanvas/samples/penguin/penguin.cpp
Since wxPanel is now AutoLayout aware, removed indirect auto layouting
[wxWidgets.git] / utils / glcanvas / samples / penguin / penguin.cpp
index aed5156e5b21e0121c40522a86bf448c414cc5b1..8eaed6a1d9bd74fb9361e90604628e42da3190fd 100644 (file)
@@ -76,11 +76,6 @@ void MyFrame::OnExit(wxCommandEvent& event)
     Destroy();
 }
 
-bool MyFrame::OnClose(void)
-{
-    return TRUE;
-}
-
 BEGIN_EVENT_TABLE(TestGLCanvas, wxGLCanvas)
     EVT_SIZE(TestGLCanvas::OnSize)
     EVT_PAINT(TestGLCanvas::OnPaint)
@@ -150,7 +145,7 @@ void TestGLCanvas::OnSize(wxSizeEvent& event)
 {
     int width, height;
     GetClientSize(& width, & height);
-
+    
 #ifndef __WXMOTIF__
     if (GetContext())
 #endif