git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30960
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
bool wxTopLevelWindowGTK::ShowFullScreen(bool show, long style )
{
- if (show == m_fsIsShowing) return FALSE; // return what?
+ if (show == m_fsIsShowing)
+ return FALSE; // return what?
m_fsIsShowing = show;
gtk_window_fullscreen( GTK_WINDOW( m_widget ) );
else
gtk_window_unfullscreen( GTK_WINDOW( m_widget ) );
+
+ return TRUE;
}
else
-#else
+#endif // GTK+ >= 2.2.0
{
GdkWindow *window = m_widget->window;
m_fsSaveFrame.width, m_fsSaveFrame.height);
}
}
-#endif
return TRUE;
}
bool wxTopLevelWindowGTK::ShowFullScreen(bool show, long style )
{
- if (show == m_fsIsShowing) return FALSE; // return what?
+ if (show == m_fsIsShowing)
+ return FALSE; // return what?
m_fsIsShowing = show;
gtk_window_fullscreen( GTK_WINDOW( m_widget ) );
else
gtk_window_unfullscreen( GTK_WINDOW( m_widget ) );
+
+ return TRUE;
}
else
-#else
+#endif // GTK+ >= 2.2.0
{
GdkWindow *window = m_widget->window;
m_fsSaveFrame.width, m_fsSaveFrame.height);
}
}
-#endif
return TRUE;
}