Ejemplo n.º 1
0
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;
}
Ejemplo n.º 2
0
bool wxTopLevelWindowMac::IsIconized() const
{
    return IsWindowCollapsed((WindowRef)m_macWindow ) ;
}