and the compilation fix for the warning fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
1999-11-02 18:46:33 +00:00
parent b02da6b187
commit bf57d1adac
4 changed files with 43 additions and 43 deletions

View File

@@ -613,12 +613,12 @@ public:
*ypos = m_y;
}
void GetPosition(int *xpos, int *ypos) const
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;
}
// Find the position of the event
@@ -694,10 +694,10 @@ public:
if (ypos) *ypos = m_y;
}
void GetPosition(int *xpos, int *ypos) const
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;
}
wxPoint GetPosition() const