]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/glcanvas.cpp
avoid calling GetDefaultSize() twice
[wxWidgets.git] / src / gtk / glcanvas.cpp
index 7ab78cc4990c006ff5cef65e4e9a81d5163f144d..d4acb9c8c2a1c6c8aa70143cb1983617242f5123 100644 (file)
@@ -4,7 +4,6 @@
 // Author:      Robert Roebling
 // Modified by:
 // Created:     17/08/98
-// RCS-ID:      $Id$
 // Copyright:   (c) Robert Roebling
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
@@ -99,9 +98,6 @@ gtk_glcanvas_size_callback(GtkWidget *WXUNUSED(widget),
                            GtkAllocation * WXUNUSED(alloc),
                            wxGLCanvas *win)
 {
-    if (!win->m_hasVMT)
-        return;
-
     wxSizeEvent event( wxSize(win->m_width,win->m_height), win->GetId() );
     event.SetEventObject( win );
     win->HandleWindowEvent( event );