]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/wxGLCanvas.py
Bugfix for wxListCtrl::GetColumn. It wasn't checking the returned format correctly.
[wxWidgets.git] / wxPython / demo / wxGLCanvas.py
index 015504053b8f329a05d92c20eaf9c4111d6758cf..d1e2c025b5fb32a47c5d0357b2833c2ea57cfc76 100644 (file)
@@ -56,9 +56,16 @@ else:
                 box.Add(btn, 0, wxALIGN_CENTER|wxALL, 15)
                 EVT_BUTTON(self, k, self.OnButton)
 
+            #** Enable this to show putting a wxGLCanvas on the wxPanel
+            if 0:
+                c = CubeCanvas(self)
+                c.SetSize((200, 200))
+                box.Add(c, 0, wxALIGN_CENTER|wxALL, 15)
+
             self.SetAutoLayout(true)
             self.SetSizer(box)
 
+
         def OnButton(self, evt):
             canvasClassName = buttonDefs[evt.GetId()][0]
             canvasClass = eval(canvasClassName)