xx = m_x ;
yy = m_y ;
- if (GetParent())
+ if (!m_macWindowData && GetParent())
{
wxPoint pt(GetParent()->GetClientAreaOrigin());
xx -= pt.x;
// get the current size and position...
int currentX, currentY;
GetPosition(¤tX, ¤tY);
+
int currentW,currentH;
GetSize(¤tW, ¤tH);