X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/498ace9e1f08b1e177b1a883ac69d12385e805b0..855b9ce0001bf131c3b17b00593bfe0da0fb3d6b:/include/wx/unix/glx11.h diff --git a/include/wx/unix/glx11.h b/include/wx/unix/glx11.h index d122db0a0c..7f48e91891 100644 --- a/include/wx/unix/glx11.h +++ b/include/wx/unix/glx11.h @@ -17,17 +17,17 @@ // wxGLContext // ---------------------------------------------------------------------------- -class WXDLLEXPORT wxGLContext : public wxGLContextBase +class WXDLLIMPEXP_GL wxGLContext : public wxGLContextBase { public: wxGLContext(wxGLCanvas *win, const wxGLContext *other = NULL); virtual ~wxGLContext(); - virtual void SetCurrent(const wxGLCanvas& win) const; + virtual bool SetCurrent(const wxGLCanvas& win) const; private: // attach context to the drawable or unset it (if NULL) - static void MakeCurrent(GLXDrawable drawable, GLXContext context); + static bool MakeCurrent(GLXDrawable drawable, GLXContext context); GLXContext m_glContext; @@ -38,7 +38,7 @@ private: // wxGLCanvasX11 // ---------------------------------------------------------------------------- -class WXDLLEXPORT wxGLCanvasX11 : public wxGLCanvasBase +class WXDLLIMPEXP_GL wxGLCanvasX11 : public wxGLCanvasBase { public: // initialization and dtor @@ -57,7 +57,7 @@ public: // implement wxGLCanvasBase methods // -------------------------------- - virtual void SwapBuffers(); + virtual bool SwapBuffers(); // X11-specific methods @@ -129,7 +129,7 @@ private: // this is used in wx/glcanvas.h, prevent it from defining a generic wxGLApp #define wxGL_APP_DEFINED -class wxGLApp : public wxGLAppBase +class WXDLLIMPEXP_GL wxGLApp : public wxGLAppBase { public: wxGLApp(); @@ -155,7 +155,7 @@ public: } private: - DECLARE_DYNAMIC_CLASS(wxGLApp); + DECLARE_DYNAMIC_CLASS(wxGLApp) }; #endif // _WX_UNIX_GLX11_H_