X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b5dbe15d0bacde245539f54c4d97af6b4696f01f..dbaa16de075ca1f81ee663f11a67cecf4c0eb7bd:/include/wx/glcanvas.h diff --git a/include/wx/glcanvas.h b/include/wx/glcanvas.h index bb4ffa498a..3ac73811c3 100644 --- a/include/wx/glcanvas.h +++ b/include/wx/glcanvas.h @@ -66,7 +66,7 @@ public: */ // set this context as the current one - virtual void SetCurrent(const wxGLCanvas& win) const = 0; + virtual bool SetCurrent(const wxGLCanvas& win) const = 0; }; // ---------------------------------------------------------------------------- @@ -99,10 +99,10 @@ public: // ---------- // set the given context associated with this window as the current one - void SetCurrent(const wxGLContext& context) const; + bool SetCurrent(const wxGLContext& context) const; // flush the back buffer (if we have it) - virtual void SwapBuffers() = 0; + virtual bool SwapBuffers() = 0; // accessors