]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/toplevel.cpp
optimized default GUI font loading
[wxWidgets.git] / src / gtk / toplevel.cpp
index 0f65290104f521a346e412c6acf450b785e3bc14..515d60b61e25ea3886112b3f6ce52141f65227f5 100644 (file)
@@ -497,6 +497,8 @@ bool wxTopLevelWindowGTK::Create( wxWindow *parent,
 wxTopLevelWindowGTK::~wxTopLevelWindowGTK()
 {
     m_isBeingDeleted = TRUE;
+    
+    gtk_window_set_focus( GTK_WINDOW(m_widget), NULL );
 
     wxTopLevelWindows.DeleteObject( this );