shown.
Don't call gtk_widget_set_uposition() there
anymore, since it is useless, deprectased
and causes surplus move events.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40416
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
{
wxASSERT_MSG( (m_widget != NULL), wxT("invalid frame") );
+ if (show == IsShown())
+ return true;
+
if (show && !m_sizeSet)
{
/* by calling GtkOnSize here, we don't have to call
GtkOnSize( m_x, m_y, m_width, m_height );
}
- if (show)
- gtk_widget_set_uposition( m_widget, m_x, m_y );
+ // This seems no longer to be needed and the call
+ // itself is deprecated.
+ //
+ //if (show)
+ // gtk_widget_set_uposition( m_widget, m_x, m_y );
return wxWindow::Show( show );
}