]> git.saurik.com Git - wxWidgets.git/commitdiff
implement ShowWithoutActivating for GTK+
authorPaul Cornett <paulcor@bullseye.com>
Fri, 30 Oct 2009 07:39:58 +0000 (07:39 +0000)
committerPaul Cornett <paulcor@bullseye.com>
Fri, 30 Oct 2009 07:39:58 +0000 (07:39 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/toplevel.cpp

index 637d1fef67d7b71e3eede6aedfeb094fa2a57bf7..e0118f9dea15ac4c2ce3e877b65590127425c702 100644 (file)
@@ -889,6 +889,12 @@ bool wxTopLevelWindowGTK::Show( bool show )
     return change;
 }
 
+void wxTopLevelWindowGTK::ShowWithoutActivating()
+{
+    gtk_window_set_focus_on_map(GTK_WINDOW(m_widget), false);
+    Show(true);
+}
+
 void wxTopLevelWindowGTK::Raise()
 {
     gtk_window_present( GTK_WINDOW( m_widget ) );