From: Paul Cornett Date: Fri, 30 Oct 2009 07:39:58 +0000 (+0000) Subject: implement ShowWithoutActivating for GTK+ X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/52802b07274af0595617ce37c871b71e3eb75189 implement ShowWithoutActivating for GTK+ git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/gtk/toplevel.cpp b/src/gtk/toplevel.cpp index 637d1fef67..e0118f9dea 100644 --- a/src/gtk/toplevel.cpp +++ b/src/gtk/toplevel.cpp @@ -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 ) );