]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/toplevel.cpp
Crash fix under VC++
[wxWidgets.git] / src / gtk1 / toplevel.cpp
index 29eed827764ea11ccf14376bfc411cec0bb2a499..eff0e4f34e9be918718d4f09fbaead2cc6e1a980 100644 (file)
@@ -626,7 +626,7 @@ bool wxTopLevelWindowGTK::ShowFullScreen(bool show, long style )
 
     m_fsIsShowing = show;
 
 
     m_fsIsShowing = show;
 
-#ifdef __WXGTK20__
+#if GTK_CHECK_VERSION(2,2,0)
 
     if (show)
         gtk_window_fullscreen( GTK_WINDOW( m_widget ) );
 
     if (show)
         gtk_window_fullscreen( GTK_WINDOW( m_widget ) );