wxDC::DrawText

void DrawText(char *text, float x, float y)

Draws a text string at the specified point, using the current text font, and the current text foreground and background colours.

The coordinates refer to the top-left corner of the rectangle bounding the string. See wxDC::GetTextExtent for how to get the dimensions of a text string, which can be used to position the text more precisely.