wxFrame::Maximize

void Maximize(Bool maximize)

Maximizes the frame if maximize is TRUE, otherwise restores it (Windows 3.1 only).