}
#endif // wxUSE_STATUSBAR
- m_sizeSet = TRUE;
+ GtkUpdateSize();
// send size event to frame
wxSizeEvent event( wxSize(m_width,m_height), GetId() );
}
// resize window in OnInternalIdle
- m_sizeSet = FALSE;
+ GtkUpdateSize();
}
#endif // wxUSE_MENUS_NATIVE
m_insertInClientArea = TRUE;
- m_sizeSet = FALSE;
+ GtkUpdateSize();
return m_frameToolBar;
}
wxASSERT_MSG( (m_widget != NULL), wxT("invalid frame") );
// because it will change when toolbar is added
- m_sizeSet = FALSE;
+ GtkUpdateSize();
return wxFrameBase::CreateStatusBar( number, style, id, name );
}
if ( !m_frameStatusBar )
return;
- m_sizeSet = FALSE;
+ GtkUpdateSize();
}
#endif // wxUSE_STATUSBAR
}
#endif // wxUSE_STATUSBAR
- m_sizeSet = TRUE;
+ GtkUpdateSize();
// send size event to frame
wxSizeEvent event( wxSize(m_width,m_height), GetId() );
}
// resize window in OnInternalIdle
- m_sizeSet = FALSE;
+ GtkUpdateSize();
}
#endif // wxUSE_MENUS_NATIVE
m_insertInClientArea = TRUE;
- m_sizeSet = FALSE;
+ GtkUpdateSize();
return m_frameToolBar;
}
wxASSERT_MSG( (m_widget != NULL), wxT("invalid frame") );
// because it will change when toolbar is added
- m_sizeSet = FALSE;
+ GtkUpdateSize();
return wxFrameBase::CreateStatusBar( number, style, id, name );
}
if ( !m_frameStatusBar )
return;
- m_sizeSet = FALSE;
+ GtkUpdateSize();
}
#endif // wxUSE_STATUSBAR