Commit 23785a11 authored by dickelbeck's avatar dickelbeck

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

parent aea07119
...@@ -83,13 +83,9 @@ wxString DRC_ITEM::GetErrorText() const ...@@ -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;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment