]> git.saurik.com Git - wxWidgets.git/commitdiff
gtk_window_[un]fullscreen only available with GTK >= 2.2
authorKevin Hock <hockkn@yahoo.com>
Tue, 30 Nov 2004 18:13:39 +0000 (18:13 +0000)
committerKevin Hock <hockkn@yahoo.com>
Tue, 30 Nov 2004 18:13:39 +0000 (18:13 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/toplevel.cpp
src/gtk1/toplevel.cpp

index 29eed827764ea11ccf14376bfc411cec0bb2a499..eff0e4f34e9be918718d4f09fbaead2cc6e1a980 100644 (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 ) );
index 29eed827764ea11ccf14376bfc411cec0bb2a499..eff0e4f34e9be918718d4f09fbaead2cc6e1a980 100644 (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 ) );