Various odds and ends, minor fixes, and cleanups...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -66,7 +66,6 @@ else:
|
||||
|
||||
def OnSize(self, event):
|
||||
size = self.GetClientSize()
|
||||
print size
|
||||
if self.GetContext():
|
||||
self.SetCurrent()
|
||||
glViewport(0, 0, size.width, size.height)
|
||||
@@ -76,7 +75,6 @@ else:
|
||||
dc = wxPaintDC(self)
|
||||
|
||||
self.SetCurrent()
|
||||
print self.init
|
||||
|
||||
if not self.init:
|
||||
self.InitGL()
|
||||
|
Reference in New Issue
Block a user