Set wxGTK's GTK idle priority back up to 0,

wxGTK's frame's toolbar is now in m_children again,
    as wxFrameBase's idle logic and the update UI
    code based on it require that.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2000-04-29 16:03:42 +00:00
parent 2442422672
commit 498db281b5
4 changed files with 4 additions and 10 deletions

View File

@@ -179,7 +179,7 @@ void wxapp_install_idle_handler()
to the main thread (and processing these in
idle time). Very low priority. */
wxTheApp->m_idleTag = gtk_idle_add_priority( 500, wxapp_idle_callback, (gpointer) NULL );
wxTheApp->m_idleTag = gtk_idle_add_priority( 0, wxapp_idle_callback, (gpointer) NULL );
g_isIdle = FALSE;
}
@@ -250,7 +250,7 @@ wxApp::wxApp()
m_topWindow = (wxWindow *) NULL;
m_exitOnFrameDelete = TRUE;
m_idleTag = gtk_idle_add_priority( 500, wxapp_idle_callback, (gpointer) NULL );
m_idleTag = gtk_idle_add_priority( 0, wxapp_idle_callback, (gpointer) NULL );
#if wxUSE_THREADS
m_wakeUpTimerTag = 0;

View File

@@ -968,9 +968,6 @@ wxToolBar* wxFrame::CreateToolBar( long style, wxWindowID id, const wxString& na
m_frameToolBar = wxFrameBase::CreateToolBar( style, id, name );
if (m_frameToolBar)
GetChildren().DeleteObject( m_frameToolBar );
m_insertInClientArea = TRUE;
m_sizeSet = FALSE;

View File

@@ -179,7 +179,7 @@ void wxapp_install_idle_handler()
to the main thread (and processing these in
idle time). Very low priority. */
wxTheApp->m_idleTag = gtk_idle_add_priority( 500, wxapp_idle_callback, (gpointer) NULL );
wxTheApp->m_idleTag = gtk_idle_add_priority( 0, wxapp_idle_callback, (gpointer) NULL );
g_isIdle = FALSE;
}
@@ -250,7 +250,7 @@ wxApp::wxApp()
m_topWindow = (wxWindow *) NULL;
m_exitOnFrameDelete = TRUE;
m_idleTag = gtk_idle_add_priority( 500, wxapp_idle_callback, (gpointer) NULL );
m_idleTag = gtk_idle_add_priority( 0, wxapp_idle_callback, (gpointer) NULL );
#if wxUSE_THREADS
m_wakeUpTimerTag = 0;

View File

@@ -968,9 +968,6 @@ wxToolBar* wxFrame::CreateToolBar( long style, wxWindowID id, const wxString& na
m_frameToolBar = wxFrameBase::CreateToolBar( style, id, name );
if (m_frameToolBar)
GetChildren().DeleteObject( m_frameToolBar );
m_insertInClientArea = TRUE;
m_sizeSet = FALSE;