]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/glcanvas/motif/glcanvas.h
Tried to prevent scrollbars from scrolling as
[wxWidgets.git] / utils / glcanvas / motif / glcanvas.h
index ee4afde5fc74c5b90c0fb16adeab9d1a0319a36c..96ae147094ddcc7a172708a23107898ee63b7d07 100644 (file)
@@ -30,6 +30,8 @@ DECLARE_CLASS(wxGLCanvas)
 public:
     GLXContext glx_cx;
 
+    inline wxGLCanvas() { glx_cx = 0; }
+
     wxGLCanvas(wxWindow *parent, wxWindowID id = -1, const wxPoint& pos = wxDefaultPosition,
         const wxSize& size = wxDefaultSize, long style = 0,
         const wxString& name = "GLCanvas", int *attribList = 0, const wxPalette& palette = wxNullPalette);