factored out ShowCoord() to use common operator << (wxString, wxPoint)

This commit is contained in:
dickelbeck 2008-05-05 19:54:21 +00:00
parent aea07119e2
commit 23785a1166
1 changed files with 7 additions and 11 deletions

View File

@ -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;
} }