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
This commit is contained in:
Kevin Hock
2004-11-30 18:13:39 +00:00
parent 30413fd03e
commit 44ac608d14
2 changed files with 2 additions and 2 deletions

View File

@@ -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 ) );