]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/glcanvas.cpp
make the length of string proportional to the parameter to study test time dependency...
[wxWidgets.git] / src / gtk / glcanvas.cpp
index ab444bc18c94cd180dcbdfe321d86add3ce5fed7..23d49c19a747daa79569c7ac91c80c4ca82159ea 100644 (file)
@@ -157,6 +157,9 @@ wxGLCanvas::wxGLCanvas(wxWindow *parent,
                        const wxPalette& palette)
     : m_createImplicitContext(true)
 {
+    m_sharedContext = NULL;
+    m_sharedContextOf = NULL;
+
     Create(parent, id, pos, size, style, name, attribList, palette);
 }
 
@@ -185,6 +188,7 @@ wxGLCanvas::wxGLCanvas(wxWindow *parent,
                        const wxPalette& palette )
     : m_createImplicitContext(true)
 {
+    m_sharedContext = NULL;
     m_sharedContextOf = wx_const_cast(wxGLCanvas *, shared);
 
     Create(parent, id, pos, size, style, name, attribList, palette);