Trouble positioning window

Hello,

I’m having difficulty positioning a window onto of a MDI child frame. I’ve simply created something like the wxTipWindow using a wx.Frame and I want to position it at the same location as its parent (MDIChildFrame).

position = self.mdichildframe.GetPosition()

self.tipwindow.Move(position)

I am thinking this should put the origins the tipwindow at the origin of the mdichildframe. but it isn’t even close. Also I didn’t see anywhere in the docs that discussed what these positions are in reference to. if I use a GetPosition() does it return a position in reference to the parent window or the screen or what…?

Thanks!

Jeff

···

Looking for last minute shopping deals?
Find them fast with Yahoo! Search.