]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/contrib/ogl/oglcanvas.i
Don't create a bitmap with dimensions <= 0...
[wxWidgets.git] / wxPython / contrib / ogl / oglcanvas.i
index 1761f82f8a1722faee41baea84cfaeb87065c901..0794f68e2b4c8cd7cb12bf00e8e1671c8ada4fde 100644 (file)
@@ -31,7 +31,7 @@
 
 %include _ogldefs.i
 
-%extern oglbasic.i
+%import oglbasic.i
 
 
 %pragma(python) code = "import wx"
@@ -45,7 +45,7 @@ public:
     wxDiagram();
     //~wxDiagram();
 
-    void AddShape(wxPyShape*shape, wxPyShape *addAfter = NULL);
+    void AddShape(wxPyShape* shape, wxPyShape *addAfter = NULL);
     void Clear(wxDC& dc);
     void DeleteAllShapes();
     void DrawOutline(wxDC& dc, double x1, double y1, double x2, double y2);