]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/toplevel.cpp
Added clipboard cut and paste
[wxWidgets.git] / src / gtk1 / 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 );