wxWindow::SetSize

void SetSize(int x, int y, int width, int height)

This sets the size of the entire window in pixels.