New defines for wxTreeCtrl

Corrections to print preview
  MakeModal behaves sanely now.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
1999-05-28 09:28:38 +00:00
parent eebc8b5e75
commit c25ccf85c1
4 changed files with 21 additions and 27 deletions

View File

@@ -745,15 +745,9 @@ void wxFrame::GtkOnSize( int WXUNUSED(x), int WXUNUSED(y), int width, int height
void wxFrame::MakeModal( bool modal )
{
if (modal)
{
gtk_grab_add( m_widget );
gtk_main();
gtk_grab_remove( m_widget );
}
else
{
gtk_main_quit();
}
gtk_grab_remove( m_widget );
}
void wxFrame::OnInternalIdle()