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:
@@ -463,7 +463,6 @@ bool wxToolBar::Create( wxWindow *parent,
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
m_widget = gtk_event_box_new();
|
m_widget = gtk_event_box_new();
|
||||||
ConnectWidget( m_widget );
|
|
||||||
}
|
}
|
||||||
gtk_container_add(GTK_CONTAINER(m_widget), GTK_WIDGET(m_toolbar));
|
gtk_container_add(GTK_CONTAINER(m_widget), GTK_WIDGET(m_toolbar));
|
||||||
wxGCC_WARNING_RESTORE()
|
wxGCC_WARNING_RESTORE()
|
||||||
|
Reference in New Issue
Block a user