]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/contrib/glcanvas/glcanvas.i
For Python 2.2 builds
[wxWidgets.git] / wxPython / contrib / glcanvas / glcanvas.i
index ebb39d526a251032395f0a95967c563190982796..d473e40801dd6d8590c2d2350f66d34804547d52 100644 (file)
@@ -54,8 +54,10 @@ class wxGLCanvas;
 
 class wxGLContext : public wxObject {
 public:
+#ifndef __WXMAC__  //  fix this?
     wxGLContext(bool isRGB, wxGLCanvas *win,
                 const wxPalette& palette = wxNullPalette);
+#endif
     ~wxGLContext();
 
     void SetCurrent();
@@ -94,7 +96,7 @@ public:
 
 
 
-class wxGLCanvas : public wxScrolledWindow {
+class wxGLCanvas : public wxWindow {
 public:
     wxGLCanvas(wxWindow *parent, wxWindowID id = -1,
                const wxPoint& pos = wxDefaultPosition,