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:
@@ -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
|
||||
|
Reference in New Issue
Block a user