compilation fixes for msw_gl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -403,15 +403,12 @@ typedef int wxWindowID;
|
|||||||
#define WXDLLIMPEXP_DATA_CORE(type) type
|
#define WXDLLIMPEXP_DATA_CORE(type) type
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef WXMAKINGDLL_HTML
|
#ifdef WXMAKINGDLL_GL
|
||||||
#define WXDLLIMPEXP_HTML WXEXPORT
|
#define WXDLLIMPEXP_GL WXEXPORT
|
||||||
#define WXDLLIMPEXP_DATA_HTML(type) WXEXPORT type
|
|
||||||
#elif defined(WXUSINGDLL)
|
#elif defined(WXUSINGDLL)
|
||||||
#define WXDLLIMPEXP_HTML WXIMPORT
|
#define WXDLLIMPEXP_GL WXIMPORT
|
||||||
#define WXDLLIMPEXP_DATA_HTML(type) WXIMPORT type
|
|
||||||
#else // not making nor using DLL
|
#else // not making nor using DLL
|
||||||
#define WXDLLIMPEXP_HTML
|
#define WXDLLIMPEXP_GL
|
||||||
#define WXDLLIMPEXP_DATA_HTML(type) type
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// for backwards compatibility, define suffix-less versions too
|
// for backwards compatibility, define suffix-less versions too
|
||||||
|
@@ -52,9 +52,9 @@ enum
|
|||||||
WX_GL_MIN_ACCUM_ALPHA /* use blue buffer with most bits (> MIN_ACCUM_ALPHA bits) */
|
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:
|
public:
|
||||||
wxGLContext(bool isRGB, wxGLCanvas *win, const wxPalette& palette = wxNullPalette);
|
wxGLContext(bool isRGB, wxGLCanvas *win, const wxPalette& palette = wxNullPalette);
|
||||||
@@ -80,7 +80,7 @@ public:
|
|||||||
wxWindow* m_window;
|
wxWindow* m_window;
|
||||||
};
|
};
|
||||||
|
|
||||||
class WXDLLEXPORT wxGLCanvas: public wxWindow
|
class WXDLLIMPEXP_GL wxGLCanvas: public wxWindow
|
||||||
{
|
{
|
||||||
DECLARE_CLASS(wxGLCanvas)
|
DECLARE_CLASS(wxGLCanvas)
|
||||||
public:
|
public:
|
||||||
|
Reference in New Issue
Block a user