Additional changes required to use wxmpl-1.2.9 with matplotlib-0.98.3

Many thanks to Paulo Meira for his modifications to to make it compatible with matplotlib-0.98.3. However, I had to make one change to his file for it to work with my application. Also, I had to modify one line in matplotlib/backends/ I'm not sure why I had to make these changes--maybe I'm doing something wrong in my python/wx/wxmpl/matplotlib application. Anyway, here are patches that illustrate the changes I had to make. The patches are attached, but I'm not sure how this list handles patches, so the text is also pasted below. I hope this helps someone...if I'm doing something wrong, suggestions will be appreciated.

   Craig Finch

--- ./ 2008-11-21 13:03:02.000000000 -0500
+++ ./ 2008-11-21 14:28:35.000000000 -0500
@@ -1203,7 +1203,8 @@
             if doRepaint:
- FigureCanvasWxAgg.draw(self, repaint)
+# FigureCanvasWxAgg.draw(self, repaint)
+ FigureCanvasWxAgg.draw(self)

         # Don't redraw the decorations when called by _onPaint()
         if doRepaint:

--- 2008-11-21 14:24:17.000000000 -0500
+++ 2008-11-21 14:26:24.000000000 -0500
@@ -1098,7 +1098,7 @@
         DEBUG_MSG("_onPaint()", 1, self)
         drawDC = wx.PaintDC(self)
         if not self._isDrawn:
- self.draw(drawDC=drawDC)
+ FigureCanvasWx.draw(self, drawDC=drawDC)

wxmpl.patch (463 Bytes)

backend_wx.patch (414 Bytes)