From: Václav Slavík Date: Tue, 8 May 2001 22:25:17 +0000 (+0000) Subject: ShowFullScreen is not MSW-only anymore, updated docs and samples X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/0133d06b1a1dbb3bebc0ddb8cf2a7aa9d926a936?ds=inline ShowFullScreen is not MSW-only anymore, updated docs and samples git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/docs/latex/wx/frame.tex b/docs/latex/wx/frame.tex index 76b1ccf613..bb875b6206 100644 --- a/docs/latex/wx/frame.tex +++ b/docs/latex/wx/frame.tex @@ -286,6 +286,16 @@ Iconizes or restores the frame. Windows only. \helpref{wxFrame::IsIconized}{wxframeisiconized}, \helpref{wxFrame::Maximize}{wxframemaximize}. +\membersection{wxFrame::IsFullScreen}\label{wxframeisfullscreen} + +\func{bool}{IsFullScreen}{\void} + +Returns TRUE if the frame is in fullscreen mode. + +\wxheading{See also} + +\helpref{wxFrame::ShowFullScreen}{wxframeshowfullscreen} + \membersection{wxFrame::IsIconized}\label{wxframeisiconized} \constfunc{bool}{IsIconized}{\void} @@ -579,5 +589,8 @@ indicate what elements of the frame to hide in full-screen mode: \item wxFULLSCREEN\_ALL (all of the above) \end{itemize} -This function only works on Windows and has not been tested with MDI frames. +This function has not been tested with MDI frames. + +\wxheading{See also} +\helpref{wxFrame::IsFullScreen}{wxframeisfullscreen} diff --git a/samples/toolbar/toolbar.cpp b/samples/toolbar/toolbar.cpp index c0a98dd8dc..96be6becfb 100644 --- a/samples/toolbar/toolbar.cpp +++ b/samples/toolbar/toolbar.cpp @@ -604,8 +604,6 @@ void MyFrame::OnToolEnter(wxCommandEvent& event) void MyFrame::OnToggleFullScreen(wxCommandEvent& event) { -#ifdef __WXMSW__ ShowFullScreen(!IsFullScreen()); -#endif }