Another attempts at getting dialog positions right
Cursor fixes. This requires a recompile. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -465,7 +465,7 @@ void wxDialog::Centre( int direction )
|
||||
|
||||
void wxDialog::OnInternalIdle()
|
||||
{
|
||||
if (!m_sizeSet)
|
||||
if (!m_sizeSet && GTK_WIDGET_REALIZED(m_wxwindow))
|
||||
GtkOnSize( m_x, m_y, m_width, m_height );
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user