Remove apparently unnecessary call from wxGTK wxToolBar
ConnectWidget() will be called from PostCreation() just below, so it doesn't seem necessary to call it explicitly from wxToolBar::Create().
This commit is contained in:
parent
3e70842775
commit
25c0e27b6c
@ -463,7 +463,6 @@ bool wxToolBar::Create( wxWindow *parent,
|
||||
else
|
||||
{
|
||||
m_widget = gtk_event_box_new();
|
||||
ConnectWidget( m_widget );
|
||||
}
|
||||
gtk_container_add(GTK_CONTAINER(m_widget), GTK_WIDGET(m_toolbar));
|
||||
wxGCC_WARNING_RESTORE()
|
||||
|
Loading…
Reference in New Issue
Block a user