window-centre

long ( window-centre long window-id word orientation)

orientation may be wxVERTICAL, wxHORIZONTAL or wxBOTH. Centres the window with respect to its parent (or desktop).