X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ab9bc19bd1c0347b73a55b5a642f4d590aa76d43..c980c992630e94e71139660631a77ffbca8ed958:/utils/wxPython/src/gtk/glcanvas.py diff --git a/utils/wxPython/src/gtk/glcanvas.py b/utils/wxPython/src/gtk/glcanvas.py index 6af25bd70f..0524d4851b 100644 --- a/utils/wxPython/src/gtk/glcanvas.py +++ b/utils/wxPython/src/gtk/glcanvas.py @@ -3,6 +3,8 @@ import glcanvasc from misc import * +from misc2 import * + from windows import * from gdi import * @@ -26,6 +28,8 @@ from cmndlgs import * from windows3 import * from image import * + +from printfw import * import wx class wxGLContextPtr : def __init__(self,this): @@ -43,21 +47,6 @@ class wxGLContextPtr : def SwapBuffers(self): val = glcanvasc.wxGLContext_SwapBuffers(self.this) return val - def SetupPixelFormat(self): - val = glcanvasc.wxGLContext_SetupPixelFormat(self.this) - return val - def SetupPalette(self,arg0): - val = glcanvasc.wxGLContext_SetupPalette(self.this,arg0.this) - return val - def CreateDefaultPalette(self): - val = glcanvasc.wxGLContext_CreateDefaultPalette(self.this) - val = wxPalettePtr(val) - val.thisown = 1 - return val - def GetPalette(self): - val = glcanvasc.wxGLContext_GetPalette(self.this) - val = wxPalettePtr(val) - return val def GetWindow(self): val = glcanvasc.wxGLContext_GetWindow(self.this) val = wxWindowPtr(val)