rem: void wxCheckRootFrame(Bool frame_present)
add: void wxCheckRootFrame(WindowPtr w)
context: void wxCheckRootFrame(Bool frame_present){  if (frame_present) {    /* Hide root frame, if any, in case it's shown */    if (wxRootFrame) {      wxMacDC *dc;      WindowPtr theMacWindow;      dc = wxRootFrame->MacDC();      theMacWindow = GetWindowFromPort(dc->macGrafPort());      ::HideWindow(theMacWindow);    }  } else {    /* If all frames are closed/minimized, it's time for the root window (if any) */    if (wxRootFrame && !FrontNonFloatingWindow()) {      wxMacDC *dc;      WindowPtr theMacWindow;      dc = wxRootFrame->MacDC();      theMacWindow = GetWindowFromPort(dc->macGrafPort());      ::ShowWindow(theMacWindow);    }  }}