From: Kevin Hock Date: Tue, 30 Nov 2004 18:13:39 +0000 (+0000) Subject: gtk_window_[un]fullscreen only available with GTK >= 2.2 X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/44ac608d142da51fd7f70c35146245b197749b2e gtk_window_[un]fullscreen only available with GTK >= 2.2 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/gtk/toplevel.cpp b/src/gtk/toplevel.cpp index 29eed82776..eff0e4f34e 100644 --- a/src/gtk/toplevel.cpp +++ b/src/gtk/toplevel.cpp @@ -626,7 +626,7 @@ bool wxTopLevelWindowGTK::ShowFullScreen(bool show, long style ) m_fsIsShowing = show; -#ifdef __WXGTK20__ +#if GTK_CHECK_VERSION(2,2,0) if (show) gtk_window_fullscreen( GTK_WINDOW( m_widget ) ); diff --git a/src/gtk1/toplevel.cpp b/src/gtk1/toplevel.cpp index 29eed82776..eff0e4f34e 100644 --- a/src/gtk1/toplevel.cpp +++ b/src/gtk1/toplevel.cpp @@ -626,7 +626,7 @@ bool wxTopLevelWindowGTK::ShowFullScreen(bool show, long style ) m_fsIsShowing = show; -#ifdef __WXGTK20__ +#if GTK_CHECK_VERSION(2,2,0) if (show) gtk_window_fullscreen( GTK_WINDOW( m_widget ) );