*ypos = m_y;
}
- void GetPosition(int *xpos, int *ypos) const
+#ifndef __WIN16__
+ void GetPosition(long *xpos, long *ypos) const
{
if (xpos)
- *xpos = (int)m_x;
+ *xpos = (long)m_x;
if (ypos)
- *ypos = (int)m_y;
+ *ypos = (long)m_y;
}
+#endif
// Find the position of the event
wxPoint GetPosition() const { return wxPoint(m_x, m_y); }
if (ypos) *ypos = m_y;
}
- void GetPosition(int *xpos, int *ypos) const
+#ifndef __WIN16__
+ void GetPosition(long *xpos, long *ypos) const
{
- if (xpos) *xpos = (int)m_x;
- if (ypos) *ypos = (int)m_y;
+ if (xpos) *xpos = (long)m_x;
+ if (ypos) *ypos = (long)m_y;
}
+#endif
wxPoint GetPosition() const
{ return wxPoint(m_x, m_y); }