]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation fixes for msw_gl
authorVáclav Slavík <vslavik@fastmail.fm>
Thu, 17 Jul 2003 08:31:33 +0000 (08:31 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Thu, 17 Jul 2003 08:31:33 +0000 (08:31 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/defs.h
include/wx/msw/glcanvas.h

index 51e07843f8ebc5765cb17cbf595b80c2305132a9..f2e95d4aff92da158a2fb101741e2e83dda982b8 100644 (file)
@@ -403,15 +403,12 @@ typedef int wxWindowID;
     #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
index b8dab7af65bf4032f79816d224f7a3e282805747..a12a47b6c159b8109e2c8ce00dd82b9924e7a604 100644 (file)
@@ -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: