#define WXDLLIMPEXP_DATA_CORE(type) type
#endif
-#ifdef WXMAKINGDLL_HTML
- #define WXDLLIMPEXP_HTML WXEXPORT
- #define WXDLLIMPEXP_DATA_HTML(type) WXEXPORT type
+#ifdef WXMAKINGDLL_GL
+ #define WXDLLIMPEXP_GL WXEXPORT
#elif defined(WXUSINGDLL)
- #define WXDLLIMPEXP_HTML WXIMPORT
- #define WXDLLIMPEXP_DATA_HTML(type) WXIMPORT type
+ #define WXDLLIMPEXP_GL WXIMPORT
#else // not making nor using DLL
- #define WXDLLIMPEXP_HTML
- #define WXDLLIMPEXP_DATA_HTML(type) type
+ #define WXDLLIMPEXP_GL
#endif
// for backwards compatibility, define suffix-less versions too
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);
wxWindow* m_window;
};
-class WXDLLEXPORT wxGLCanvas: public wxWindow
+class WXDLLIMPEXP_GL wxGLCanvas: public wxWindow
{
DECLARE_CLASS(wxGLCanvas)
public: