X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9ce5cf09c2a6236eca9c73bdded05286dd5ab12a..ef20428e992975d27f38c8eeefa0f4c5006e7589:/include/wx/glcanvas.h?ds=sidebyside

diff --git a/include/wx/glcanvas.h b/include/wx/glcanvas.h
index b3d3c5d43e..8e7de1f6e9 100644
--- a/include/wx/glcanvas.h
+++ b/include/wx/glcanvas.h
@@ -49,7 +49,7 @@ enum
     WX_GL_MIN_ACCUM_BLUE,  // use blue buffer with most bits (> MIN_ACCUM_BLUE bits)
     WX_GL_MIN_ACCUM_ALPHA, // use alpha buffer with most bits (> MIN_ACCUM_ALPHA bits)
     WX_GL_SAMPLE_BUFFERS,  // 1 for multisampling support (antialiasing)
-    WX_GL_SAMPLES          // 4 for 2x2 antialising supersampling on most graphics cards
+    WX_GL_SAMPLES          // 4 for 2x2 antialiasing supersampling on most graphics cards
 };
 
 #define wxGLCanvasName wxT("GLCanvas")
@@ -143,7 +143,7 @@ public:
 
 #ifdef __WXUNIVERSAL__
     // resolve the conflict with wxWindowUniv::SetCurrent()
-    virtual bool SetCurrent(bool doit) { return wxWindow::SetCurrent(doit); };
+    virtual bool SetCurrent(bool doit) { return wxWindow::SetCurrent(doit); }
 #endif
 
 protected: