(cherry picked from commit 8bceeba143
)
This commit is contained in:
@@ -2700,7 +2700,7 @@ void wxWindowGTK::PostCreation()
|
|||||||
|
|
||||||
// unless the window was created initially hidden (i.e. Hide() had been
|
// unless the window was created initially hidden (i.e. Hide() had been
|
||||||
// called before Create()), we should show it at GTK+ level as well
|
// called before Create()), we should show it at GTK+ level as well
|
||||||
if ( IsShown() )
|
if (m_isShown)
|
||||||
gtk_widget_show( m_widget );
|
gtk_widget_show( m_widget );
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2915,7 +2915,7 @@ void wxWindowGTK::DoSetSize( int x, int y, int width, int height, int sizeFlags
|
|||||||
|
|
||||||
bool wxWindowGTK::GTKShowFromOnIdle()
|
bool wxWindowGTK::GTKShowFromOnIdle()
|
||||||
{
|
{
|
||||||
if (IsShown() && m_showOnIdle && !gtk_widget_get_visible (m_widget))
|
if (m_isShown && m_showOnIdle && !gtk_widget_get_visible(m_widget))
|
||||||
{
|
{
|
||||||
GtkAllocation alloc;
|
GtkAllocation alloc;
|
||||||
alloc.x = m_x;
|
alloc.x = m_x;
|
||||||
|
Reference in New Issue
Block a user