X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/047b6c71d622880bd30aafbc7f31e8729b4d653a..34bfda8a38921fd67a09a108915542382cc866a6:/include/wx/unix/glx11.h

diff --git a/include/wx/unix/glx11.h b/include/wx/unix/glx11.h
index da982ca6c7..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();