operation unless you first have created an app object, (even on
Windows where most anything was possible before.)
+**[Changed in 2.5.2.0]** All the Window and GDI (pen, bitmap, etc.)
+class constructors and also many toplevel functions and static methods
+will now check that a wx.App object has already been created and will
+raise a wx.PyNoAppError exception if not.
+
+
SWIG 1.3
OGL is dead! LONG LIVE OGL!
---------------------------
+**[Changed in 2.5.2.0]**
+
The wx.ogl module has been deprecated in favor of the new Python port
of the OGL library located at wx.lib.ogl contributed by Pierre Hjälm.
This will hopefully greatly extend the life of OGL within wxPython by
import wx
import wx.lib.ogl as ogl
-
+The other compatibility issue deals with removing a wart in the
+original API that was necessary in order to allow overloaded methods
+in derived classes to call the same method in the base class when
+using the old SWIG. Instead dedaling with the wart you can now just
+call the base class method like you woudl for any other Python class.
+For example, if you had to do something like this previously::
+
+ class MyDividedShape(ogl.DividedShape):
+ ...
+ def OnSizingEndDragLeft(self, pt, x, y, keys, attch):
+ self.base_OnSizingEndDragLeft(pt, x, y, keys, attch)
+ ...
+
+You will need to change it to be like this::
+
+ class MyDividedShape(ogl.DividedShape):
+ ...
+ def OnSizingEndDragLeft(self, pt, x, y, keys, attch):
+ ogl.DividedShape.OnSizingEndDragLeft(self, pt, x, y, keys, attch)
+ ...