New wxDataObject etc. Almost works.
A few more compatibility funcs for (long*) vs (int*). Makefile.in regenerated from filelist... git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -605,8 +605,15 @@ public:
|
||||
bool Leaving() const { return (m_eventType == wxEVT_LEAVE_WINDOW); }
|
||||
|
||||
// Find the position of the event
|
||||
void GetPosition(long *xpos, long *ypos) const { *xpos = m_x; *ypos = m_y; }
|
||||
void Position(long *xpos, long *ypos) const { *xpos = m_x; *ypos = m_y; }
|
||||
void GetPosition(long *xpos, long *ypos) const
|
||||
{ if (xpos) *xpos = m_x;
|
||||
if (ypos) *ypos = m_y; }
|
||||
void GetPosition(int *xpos, int *ypos) const
|
||||
{ if (xpos) *xpos = m_x;
|
||||
if (ypos) *ypos = m_y; }
|
||||
void Position(long *xpos, long *ypos) const
|
||||
{ if (xpos) *xpos = m_x;
|
||||
if (ypos) *ypos = m_y; }
|
||||
|
||||
// Find the position of the event
|
||||
wxPoint GetPosition() const { return wxPoint(m_x, m_y); }
|
||||
@@ -668,7 +675,11 @@ public:
|
||||
|
||||
// Find the position of the event
|
||||
void GetPosition(long *xpos, long *ypos) const
|
||||
{ *xpos = m_x; *ypos = m_y; }
|
||||
{ if (xpos) *xpos = m_x;
|
||||
if (ypos) *ypos = m_y; }
|
||||
void GetPosition(int *xpos, int *ypos) const
|
||||
{ if (xpos) *xpos = m_x;
|
||||
if (ypos) *ypos = m_y; }
|
||||
|
||||
wxPoint GetPosition() const
|
||||
{ return wxPoint(m_x, m_y); }
|
||||
|
Reference in New Issue
Block a user