]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/carbon/glcanvas.h
Patch from Hartwig and me for implementing reorderable dataview columns. Works on...
[wxWidgets.git] / include / wx / mac / carbon / glcanvas.h
index 4daedf6dc6dbf91cca70f6de08ddb242b45ac68e..79069995d10b492fe3c48d340fbc88426dc169ff 100644 (file)
@@ -26,7 +26,7 @@ public:
     wxGLContext(wxGLCanvas *win, const wxGLContext *other = NULL);
     virtual ~wxGLContext();
 
-    virtual void SetCurrent(const wxGLCanvas& win) const;
+    virtual bool SetCurrent(const wxGLCanvas& win) const;
 
     // Mac-specific
     AGLContext GetAGLContext() const { return m_aglContext; }
@@ -61,7 +61,7 @@ public:
     virtual ~wxGLCanvas();
 
     // implement wxGLCanvasBase methods
-    virtual void SwapBuffers();
+    virtual bool SwapBuffers();
 
 
     // Mac-specific functions