]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/glcanvas.cpp
simplify code to return from the end of the function
[wxWidgets.git] / src / gtk / glcanvas.cpp
index 7ab78cc4990c006ff5cef65e4e9a81d5163f144d..bdeb7d0cc6fc1ca3d3b7574847f4cea2db1e6a16 100644 (file)
@@ -99,9 +99,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 );