diff --git a/include/wx/gtk/glcanvas.h b/include/wx/gtk/glcanvas.h index 31bf5d00c6..998e593bef 100644 --- a/include/wx/gtk/glcanvas.h +++ b/include/wx/gtk/glcanvas.h @@ -18,7 +18,7 @@ // wxGLCanvas //--------------------------------------------------------------------------- -class WXDLLEXPORT wxGLCanvas : public wxGLCanvasX11 +class WXDLLIMPEXP_GL wxGLCanvas : public wxGLCanvasX11 { public: wxGLCanvas(wxWindow *parent, diff --git a/include/wx/unix/glx11.h b/include/wx/unix/glx11.h index da982ca6c7..b29462b7c6 100644 --- a/include/wx/unix/glx11.h +++ b/include/wx/unix/glx11.h @@ -17,7 +17,7 @@ // wxGLContext // ---------------------------------------------------------------------------- -class WXDLLEXPORT wxGLContext : public wxGLContextBase +class WXDLLIMPEXP_GL wxGLContext : public wxGLContextBase { public: wxGLContext(wxGLCanvas *win, const wxGLContext *other = NULL); @@ -38,7 +38,7 @@ private: // wxGLCanvasX11 // ---------------------------------------------------------------------------- -class WXDLLEXPORT wxGLCanvasX11 : public wxGLCanvasBase +class WXDLLIMPEXP_GL wxGLCanvasX11 : public wxGLCanvasBase { public: // initialization and dtor @@ -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();