]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/glcanvas.mm
fixed LastRead() after Read(wxOutputStream&) (patch 1658301)
[wxWidgets.git] / src / cocoa / glcanvas.mm
index ebb3a16cd60b0d0e3f8ca8895561f130f01521a7..a41176c1c620c235c5b55496c1d47c3608f4a2f0 100644 (file)
@@ -28,6 +28,14 @@ BEGIN_EVENT_TABLE(wxGLCanvas, wxWindow)
 END_EVENT_TABLE()
 // WX_IMPLEMENT_COCOA_OWNER(wxGLCanvas,NSOpenGLView,NSView,NSView)
 
+wxGLCanvas::wxGLCanvas(wxWindow *parent,
+            wxWindowID winid, const wxPoint& pos, const wxSize& size,
+            long style, const wxString& name,
+            int *attribList, const wxPalette& palette)
+{
+    Create(parent,winid,pos,size,style,name);
+}
+
 wxGLCanvas::wxGLCanvas(wxWindow *parent,
             const wxGLContext *shared,
             wxWindowID winid, const wxPoint& pos, const wxSize& size,