RgnHandle getWindowContentRegion(WindowRef window,RgnHandle contentRegion) { /*------------------------------------------------------ Define the content region of our window. --------------------------------------------------------*/ SetEmptyRgn(contentRegion); if(!IsWindowCollapsed(window)){ //only define the content region when the window is //not collapsed } return contentRegion; }
bool wxTopLevelWindowMac::IsIconized() const { return IsWindowCollapsed((WindowRef)m_macWindow ) ; }