X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/32f2ebbf2f3a81ae2cc82595789fdc1e245c0efb..bcfced3616c0ca77179f1ee69166eeb68d6c4b57:/src/gtk/toplevel.cpp 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 ) );