]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/frame.cpp
fixed parsing of non quoted entries in .mime.types
[wxWidgets.git] / src / gtk1 / frame.cpp
index cf54c400dbe85b16d2ee619672f930d92f919baf..2bc208bcb46f880e68410c4b03a0175d312881e5 100644 (file)
@@ -139,7 +139,7 @@ static gint gtk_frame_delete_callback( GtkWidget *WXUNUSED(widget), GdkEvent *WX
     if (g_isIdle)
         wxapp_install_idle_handler();
 
-    if (g_openDialogs == 0)
+    if ((g_openDialogs == 0) && (win->IsEnabled()))
         win->Close();
 
     return TRUE;
@@ -834,6 +834,7 @@ void wxFrame::GtkOnSize( int WXUNUSED(x), int WXUNUSED(y),
         gtk_pizza_set_size( GTK_PIZZA(m_wxwindow),
                             m_frameStatusBar->m_widget,
                             xx, yy, ww, hh );
+        gtk_widget_draw( m_frameStatusBar->m_widget, (GdkRectangle*) NULL );
     }
 #endif