]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/glcanvas.h
Add some WXDLLIMPEXP's
[wxWidgets.git] / include / wx / msw / glcanvas.h
index a12a47b6c159b8109e2c8ce00dd82b9924e7a604..db3a6149df6417c4972d370a6e019c066d0e11ba 100644 (file)
@@ -9,7 +9,7 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "glcanvas.h"
 #endif
 
@@ -104,6 +104,10 @@ class WXDLLIMPEXP_GL wxGLCanvas: public wxWindow
           const wxPoint& pos, const wxSize& size, long style, const wxString& name);
 
    void SetCurrent();
+   #ifdef __WXUNIVERSAL__
+   virtual bool SetCurrent(bool doit = true){ return wxWindow::SetCurrent(doit); }; 
+   #endif
+
    void SetColour(const wxChar *colour);
    void SwapBuffers();