m_toolBarDetached = FALSE;
m_insertInClientArea = TRUE;
m_isFrame = TRUE;
- m_isIconized = TRUE;
+ m_isIconized = FALSE;
m_fsIsShowing = FALSE;
m_themeEnabled = TRUE;
}
{
// this is not supposed to happen if we're called only from
// gtk_frame_(un)map_callback!
- wxFAIL_MSG( _T("unexpected call to SendIconizeEvent ignored") );
+
+ // RR: I don't understand this test. Upon startup, the frame is
+ // not iconized by default, it has just not been created
+ // yet.
+ ///wxFAIL_MSG( _T("unexpected call to SendIconizeEvent ignored") );
}
}
wxASSERT_MSG( (m_parent != NULL), wxT("wxWindow::SetSize requires parent.\n") );
/*
- printf( "name %s, x,y,w,h: %d,%d,%d,%d \n", GetName().c_str(), x,y,width,height );
+ printf( "DoSetSize: name %s, x,y,w,h: %d,%d,%d,%d \n", GetName().c_str(), x,y,width,height );
*/
if (m_resizing) return; /* I don't like recursions */
if (width) (*width) = m_width - dw;
if (height) (*height) = m_height - dh;
}
+
+/*
+ printf( "GetClientSize, name %s ", GetName().c_str() );
+ if (width) printf( " width = %d", (*width) );
+ if (height) printf( " height = %d", (*height) );
+ printf( "\n" );
+*/
}
void wxWindow::DoGetPosition( int *x, int *y ) const
m_toolBarDetached = FALSE;
m_insertInClientArea = TRUE;
m_isFrame = TRUE;
- m_isIconized = TRUE;
+ m_isIconized = FALSE;
m_fsIsShowing = FALSE;
m_themeEnabled = TRUE;
}
{
// this is not supposed to happen if we're called only from
// gtk_frame_(un)map_callback!
- wxFAIL_MSG( _T("unexpected call to SendIconizeEvent ignored") );
+
+ // RR: I don't understand this test. Upon startup, the frame is
+ // not iconized by default, it has just not been created
+ // yet.
+ ///wxFAIL_MSG( _T("unexpected call to SendIconizeEvent ignored") );
}
}
wxASSERT_MSG( (m_parent != NULL), wxT("wxWindow::SetSize requires parent.\n") );
/*
- printf( "name %s, x,y,w,h: %d,%d,%d,%d \n", GetName().c_str(), x,y,width,height );
+ printf( "DoSetSize: name %s, x,y,w,h: %d,%d,%d,%d \n", GetName().c_str(), x,y,width,height );
*/
if (m_resizing) return; /* I don't like recursions */
if (width) (*width) = m_width - dw;
if (height) (*height) = m_height - dh;
}
+
+/*
+ printf( "GetClientSize, name %s ", GetName().c_str() );
+ if (width) printf( " width = %d", (*width) );
+ if (height) printf( " height = %d", (*height) );
+ printf( "\n" );
+*/
}
void wxWindow::DoGetPosition( int *x, int *y ) const