> I suspect that the maximize is triggering the size event before the window
> is actually te-sized.

No, I just checked : when I maximize, "EVT_SIZE" is fired, and
     def OnSize(self, event):
          print self.Canvas.GetSize()
gives the good maximized size.
But for an unknown reason         self.Canvas.ZoomToBB()    doesn't zoom
like it should.

Do you notice the same thing on your platform? (with the code you sent me
ScaledBitmap2Demo.py)



> Hopefully when EVT_MAXIMIZE fires, the window will report the current
> size. So catching that should take care of it.

I tried with  EVT_MAXIMIZE,  and the result is the same.

See you later!
Jo
_______________________________________________
FloatCanvas mailing list
[email protected]
http://mailman.paulmcnett.com/cgi-bin/mailman/listinfo/floatcanvas

Reply via email to