factored out ShowCoord() to use common operator << (wxString, wxPoint)
This commit is contained in:
parent
aea07119e2
commit
23785a1166
|
@ -83,13 +83,9 @@ wxString DRC_ITEM::GetErrorText() const
|
||||||
|
|
||||||
wxString DRC_ITEM::ShowCoord( const wxPoint& aPos )
|
wxString DRC_ITEM::ShowCoord( const wxPoint& aPos )
|
||||||
{
|
{
|
||||||
wxString temp;
|
|
||||||
wxString ret;
|
wxString ret;
|
||||||
|
|
||||||
ret << wxT("@ (") << valeur_param( aPos.x, temp );
|
ret << aPos;
|
||||||
ret << wxT(",") << valeur_param( aPos.y, temp );
|
|
||||||
ret << wxT(")");
|
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue