[wxTLW-GTK] Don't connect to the configure_event twice. This caused double wxMoveEvents being emitted, and some other
stuff done on the same data twice. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
3dc786e02e
commit
ff33410699
@ -651,10 +651,6 @@ bool wxTopLevelWindowGTK::Create( wxWindow *parent,
|
||||
gtk_signal_connect( GTK_OBJECT(m_widget), "realize",
|
||||
GTK_SIGNAL_FUNC(gtk_frame_realized_callback), (gpointer) this );
|
||||
|
||||
// the only way to get the window size is to connect to this event
|
||||
gtk_signal_connect( GTK_OBJECT(m_widget), "configure_event",
|
||||
GTK_SIGNAL_FUNC(gtk_frame_configure_callback), (gpointer)this );
|
||||
|
||||
// map and unmap for iconized state
|
||||
gtk_signal_connect( GTK_OBJECT(m_widget), "map_event",
|
||||
GTK_SIGNAL_FUNC(gtk_frame_map_callback), (gpointer)this );
|
||||
|
@ -651,10 +651,6 @@ bool wxTopLevelWindowGTK::Create( wxWindow *parent,
|
||||
gtk_signal_connect( GTK_OBJECT(m_widget), "realize",
|
||||
GTK_SIGNAL_FUNC(gtk_frame_realized_callback), (gpointer) this );
|
||||
|
||||
// the only way to get the window size is to connect to this event
|
||||
gtk_signal_connect( GTK_OBJECT(m_widget), "configure_event",
|
||||
GTK_SIGNAL_FUNC(gtk_frame_configure_callback), (gpointer)this );
|
||||
|
||||
// map and unmap for iconized state
|
||||
gtk_signal_connect( GTK_OBJECT(m_widget), "map_event",
|
||||
GTK_SIGNAL_FUNC(gtk_frame_map_callback), (gpointer)this );
|
||||
|
Loading…
Reference in New Issue
Block a user