X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/147bc4915925b56454d45772c66145f14e33d23b..a6aa9b1ee8aaecdf0ca4618c2e6cccfb011f4599:/utils/glcanvas/samples/penguin/penguin.cpp?ds=inline diff --git a/utils/glcanvas/samples/penguin/penguin.cpp b/utils/glcanvas/samples/penguin/penguin.cpp index 0d49b80611..8eaed6a1d9 100644 --- a/utils/glcanvas/samples/penguin/penguin.cpp +++ b/utils/glcanvas/samples/penguin/penguin.cpp @@ -27,7 +27,6 @@ #include "penguin.h" #include -#include "wx/gtk/win_gtk.h" #define VIEW_ASPECT 1.3 @@ -106,14 +105,6 @@ void TestGLCanvas::OnPaint( wxPaintEvent& event ) if (!GetContext()) return; #endif - printf( "on refresh.\n" ); - int x,y; - GtkMyFixed *fixed = GTK_MYFIXED(m_wxwindow); - gdk_window_get_size( m_wxwindow->window, &x, &y ); - printf( "-> window %d %d.\n", x, y ); - gdk_window_get_size( fixed->bin_window, &x, &y ); - printf( "-> bin_window %d %d.\n", x, y ); - SetCurrent(); /* initialize OpenGL */ @@ -155,8 +146,6 @@ void TestGLCanvas::OnSize(wxSizeEvent& event) int width, height; GetClientSize(& width, & height); - printf( "onsize %d %d.\n", width, height ); - #ifndef __WXMOTIF__ if (GetContext()) #endif