]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/glcanvas.h
added alpha channel support to wxDFB's wxBitmap
[wxWidgets.git] / include / wx / glcanvas.h
index adbbb033a1341891ddbd8105b8461e0d79eb2b95..7257bbf35a6f04b21c222d1521accfb319ca8fe3 100644 (file)
@@ -77,12 +77,7 @@ class WXDLLIMPEXP_GL wxGLCanvasBase : public wxWindow
 {
 public:
     // default ctor doesn't initialize the window, use Create() later
-    wxGLCanvasBase()
-    {
-#if WXWIN_COMPATIBILITY_2_8
-        m_glContext = NULL;
-#endif
-    }
+    wxGLCanvasBase();
 
     virtual ~wxGLCanvasBase();
 
@@ -120,7 +115,7 @@ public:
 
     // call glcolor() for the colour with the given name, return false if
     // colour not found
-    bool SetColour(const wxChar *colour);
+    bool SetColour(const wxString& colour);