wxMotif fixes and common fixes for socket compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -522,11 +522,16 @@ long wxTextCtrl::XYToPosition(long x, long y) const
|
||||
return r+x;
|
||||
}
|
||||
|
||||
void wxTextCtrl::PositionToXY(long pos, long *x, long *y) const
|
||||
bool wxTextCtrl::PositionToXY(long pos, long *x, long *y) const
|
||||
{
|
||||
Position xx, yy;
|
||||
XmTextPosToXY((Widget) m_mainWidget, pos, &xx, &yy);
|
||||
*x = xx; *y = yy;
|
||||
if ( x )
|
||||
*x = xx;
|
||||
if ( y )
|
||||
*y = yy;
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
void wxTextCtrl::ShowPosition(long pos)
|
||||
|
Reference in New Issue
Block a user