Commit efc15348 authored by dickelbeck's avatar dickelbeck

operator << (wxString, wxPoint)

parent d9ce1e27
......@@ -466,3 +466,17 @@ const wxString& valeur_param( int valeur, wxString& buf_texte )
return buf_texte;
}
wxString& operator << ( wxString& aString, const wxPoint& aPos )
{
wxString temp;
aString << wxT("@ (") << valeur_param( aPos.x, temp );
aString << wxT(",") << valeur_param( aPos.y, temp );
aString << wxT(")");
return aString;
}
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