]> git.saurik.com Git - wxWidgets.git/commitdiff
ShowFullScreen is not MSW-only anymore, updated docs and samples
authorVáclav Slavík <vslavik@fastmail.fm>
Tue, 8 May 2001 22:25:17 +0000 (22:25 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Tue, 8 May 2001 22:25:17 +0000 (22:25 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

docs/latex/wx/frame.tex
samples/toolbar/toolbar.cpp

index 76b1ccf6138c27390f571de34e4103e2919f2282..bb875b620646b57c937acb52b60d68a3892bc0ea 100644 (file)
@@ -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}
index c0a98dd8dc8c087150e5ae374757c5019d698574..96be6becfb9dbcc518d9418b988e68d84a31cd63 100644 (file)
@@ -604,8 +604,6 @@ void MyFrame::OnToolEnter(wxCommandEvent& event)
 
 void MyFrame::OnToggleFullScreen(wxCommandEvent& event)
 {
-#ifdef __WXMSW__
     ShowFullScreen(!IsFullScreen());
-#endif
 }