X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2b5f62a0b2db198609b45dec622a018dae37008e..12a5e73be6534c23b9f941cf09ec38f345268e38:/include/wx/msw/glcanvas.h?ds=inline diff --git a/include/wx/msw/glcanvas.h b/include/wx/msw/glcanvas.h index b8dab7af65..f709f3ef3c 100644 --- a/include/wx/msw/glcanvas.h +++ b/include/wx/msw/glcanvas.h @@ -9,7 +9,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "glcanvas.h" #endif @@ -52,9 +52,9 @@ enum WX_GL_MIN_ACCUM_ALPHA /* use blue buffer with most bits (> MIN_ACCUM_ALPHA bits) */ }; -class WXDLLEXPORT wxGLCanvas; /* forward reference */ +class WXDLLIMPEXP_GL wxGLCanvas; /* forward reference */ -class WXDLLEXPORT wxGLContext: public wxObject +class WXDLLIMPEXP_GL wxGLContext: public wxObject { public: wxGLContext(bool isRGB, wxGLCanvas *win, const wxPalette& palette = wxNullPalette); @@ -80,7 +80,7 @@ public: wxWindow* m_window; }; -class WXDLLEXPORT wxGLCanvas: public wxWindow +class WXDLLIMPEXP_GL wxGLCanvas: public wxWindow { DECLARE_CLASS(wxGLCanvas) public: