X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1147523508562845599fca96346385ca35b2ca4b..456639ac872830894e596e99942e282c1ea4293c:/src/gtk1/toplevel.cpp?ds=inline diff --git a/src/gtk1/toplevel.cpp b/src/gtk1/toplevel.cpp index c5cbc54a40..fb7300af9d 100644 --- a/src/gtk1/toplevel.cpp +++ b/src/gtk1/toplevel.cpp @@ -742,6 +742,15 @@ bool wxTopLevelWindowGTK::Show( bool show ) return wxWindow::Show( show ); } +void wxTopLevelWindowGTK::Raise() +{ +#ifdef __WXGTK20__ + gtk_window_present( GTK_WINDOW( m_widget ) ); +#else + wxWindow::Raise(); +#endif +} + void wxTopLevelWindowGTK::DoMoveWindow(int WXUNUSED(x), int WXUNUSED(y), int WXUNUSED(width), int WXUNUSED(height) ) { wxFAIL_MSG( wxT("DoMoveWindow called for wxTopLevelWindowGTK") );