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
This commit is contained in:
parent
c9d4f881e7
commit
0133d06b1a
@ -286,6 +286,16 @@ Iconizes or restores the frame. Windows only.
|
|||||||
|
|
||||||
\helpref{wxFrame::IsIconized}{wxframeisiconized}, \helpref{wxFrame::Maximize}{wxframemaximize}.
|
\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}
|
\membersection{wxFrame::IsIconized}\label{wxframeisiconized}
|
||||||
|
|
||||||
\constfunc{bool}{IsIconized}{\void}
|
\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)
|
\item wxFULLSCREEN\_ALL (all of the above)
|
||||||
\end{itemize}
|
\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}
|
||||||
|
@ -604,8 +604,6 @@ void MyFrame::OnToolEnter(wxCommandEvent& event)
|
|||||||
|
|
||||||
void MyFrame::OnToggleFullScreen(wxCommandEvent& event)
|
void MyFrame::OnToggleFullScreen(wxCommandEvent& event)
|
||||||
{
|
{
|
||||||
#ifdef __WXMSW__
|
|
||||||
ShowFullScreen(!IsFullScreen());
|
ShowFullScreen(!IsFullScreen());
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user