]> git.saurik.com Git - wxWidgets.git/blobdiff - src/x11/glcanvas.cpp
fixed crash with ownerdrawn menu items accelerators (Perry Miller)
[wxWidgets.git] / src / x11 / glcanvas.cpp
index 0059ab89cf9b459ac510fc17d6c1f947c574515e..11eda0cfe559905dcbebb2674d497e0abc155741 100644 (file)
@@ -1,6 +1,6 @@
 /////////////////////////////////////////////////////////////////////////////
 // Name:        glcanvas.cpp
-// Purpose:     wxGLCanvas, for using OpenGL with wxWindows
+// Purpose:     wxGLCanvas, for using OpenGL with wxWidgets
 //              Uses the GLX extension.
 // Author:      Julian Smart and Wolfram Gloger
 // Modified by:
 // Licence:    wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma implementation "glcanvas.h"
-#endif
-
 #include "wx/setup.h"
 
 #if wxUSE_GLCANVAS
@@ -132,7 +128,7 @@ void wxGLContext::SetCurrent()
     { 
         Display* display = (Display*) wxGetDisplay();
         glXMakeCurrent(display, (Window) wxGetClientAreaWindow(m_window), 
-                       m_glContext );;
+                       m_glContext );
     }
 }