+ #ScreenDC.DrawBitmap(self._Buffer,0,0) #NOTE: uisng DrawBitmap didn't work right on MSW
+ ScreenDC.Blit(0, 0, self.PanelSize[0],self.PanelSize[1], dc, 0, 0)
+
+ # If the canvas is in the middle of a zoom or move, the Rubber Band box needs to be re-drawn
+ if self.PrevRBBox:
+ ScreenDC.SetPen(wxPen('WHITE', 2,wxSHORT_DASH))
+ ScreenDC.SetBrush(wxTRANSPARENT_BRUSH)
+ ScreenDC.SetLogicalFunction(wxXOR)
+ ScreenDC.DrawRectangle(*self.PrevRBBox)
+ elif self.PrevMoveBox:
+ ScreenDC.SetPen(wxPen('WHITE', 1,))
+ ScreenDC.SetBrush(wxTRANSPARENT_BRUSH)
+ ScreenDC.SetLogicalFunction(wxXOR)
+ ScreenDC.DrawRectangle(*self.PrevMoveBox)