X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8004cd7a28af9f5c58a850c7415f042b11b67d3a..c06dde42fe5dc8c97d0a6dbf1d6e590b198e8fbb:/docs/latex/wx/function.tex?ds=sidebyside diff --git a/docs/latex/wx/function.tex b/docs/latex/wx/function.tex index 7a3922c115..42069bf337 100644 --- a/docs/latex/wx/function.tex +++ b/docs/latex/wx/function.tex @@ -60,7 +60,6 @@ the corresponding topic. \helpref{wxDDEInitialize}{wxddeinitialize}\\ \helpref{wxDROP\_ICON}{wxdropicon}\\ \helpref{wxDebugMsg}{wxdebugmsg}\\ -\helpref{wxDirExists}{functionwxdirexists}\\ \helpref{wxDirSelector}{wxdirselector}\\ \helpref{wxDisplayDepth}{wxdisplaydepth}\\ \helpref{wxDisplaySize}{wxdisplaysize}\\ @@ -191,6 +190,7 @@ the corresponding topic. \helpref{wxOnAssert}{wxonassert}\\ \helpref{wxOpenClipboard}{wxopenclipboard}\\ \helpref{wxParseCommonDialogsFilter}{wxparsecommondialogsfilter}\\ +\helpref{wxPathExists}{functionwxpathexists}\\ \helpref{wxPathOnly}{wxpathonly}\\ \helpref{wxPostDelete}{wxpostdelete}\\ \helpref{wxPostEvent}{wxpostevent}\\ @@ -247,7 +247,6 @@ the corresponding topic. \helpref{wxWriteResource}{wxwriteresource}\\ \helpref{wxYield}{wxyield}\\ \helpref{wx\_const\_cast}{wxconstcastraw}\\ -\helpref{wx\_dynamic\_cast}{wxdynamiccastraw}\\ \helpref{wx\_reinterpret\_cast}{wxreinterpretcastraw}\\ \helpref{wx\_static\_cast}{wxstaticcastraw}\\ \helpref{\_}{underscore}\\ @@ -915,13 +914,6 @@ threads. \helpref{wxFileName}{wxfilename} -\membersection{::wxDirExists}\label{functionwxdirexists} - -\func{bool}{wxDirExists}{\param{const wxString\& }{dirname}} - -Returns true if the directory exists. - - \membersection{::wxDos2UnixFilename}\label{wxdos2unixfilename} \func{void}{wxDos2UnixFilename}{\param{wxChar *}{s}} @@ -1056,6 +1048,13 @@ Returns true if the argument is an absolute filename, i.e. with a slash or drive name at the beginning. +\membersection{::wxPathExists}\label{functionwxpathexists} + +\func{bool}{wxPathExists}{\param{const wxString\& }{dirname}} + +Returns true if the path exists. + + \membersection{::wxPathOnly}\label{wxpathonly} \func{wxString}{wxPathOnly}{\param{const wxString\& }{path}} @@ -1389,10 +1388,13 @@ Both {\it major} and {\it minor} have to be looked at as hexadecimal numbers. So \twocolitem{Motif}{Return value is wxMOTIF\_X, {\it major} is X version, {\it minor} is X revision.} \twocolitem{OS/2}{Return value is wxOS2\_PM.} \twocolitem{Windows 3.1}{Return value is wxWINDOWS, {\it major} is 3, {\it minor} is 1.} -\twocolitem{Windows NT/2000}{Return value is wxWINDOWS\_NT, version is returned in {\it major} and {\it minor}} +\twocolitem{Windows NT/2000}{Return value is wxWINDOWS\_NT, version is returned in {\it major} and {\it minor}.} \twocolitem{Windows 98}{Return value is wxWIN95, {\it major} is 4, {\it minor} is 1 or greater.} \twocolitem{Windows 95}{Return value is wxWIN95, {\it major} is 4, {\it minor} is 0.} \twocolitem{Win32s (Windows 3.1)}{Return value is wxWIN32S, {\it major} is 3, {\it minor} is 1.} +\twocolitem{Windows PocketPC}{Return value is wxWINDOWS\_POCKETPC, version is returned in {\it major} and {\it minor}.} +\twocolitem{Windows Smartphone}{Return value is wxWINDOWS\_SMARTPHONE, version is returned in {\it major} and {\it minor}.} +\twocolitem{Windows CE (non-specific)}{Return value is wxWINDOWS\_CE, version is returned in {\it major} and {\it minor}.} \twocolitem{Watcom C++ 386 supervisor mode (Windows 3.1)}{Return value is wxWIN386, {\it major} is 3, {\it minor} is 1.} \end{twocollist} @@ -2658,9 +2660,14 @@ this language feature but still take advantage of it when it is available. \func{bool}{wxGetKeyState}{\param{wxKeyCode }{key}} -Returns \true if the key parameter is currently pressed on the keyboard, or -with modifier keys, (caps lock, etc) if the key is active (the led light is -on). +For normal keys, returns \true if the specified key is currently down. + +For togglable keys (Caps Lock, Num Lock and Scroll Lock), returns +\true if the key is toggled such that its LED indicator is lit. There is +currently no way to test whether togglable keys are up or down. + +Even though there are virtual key codes defined for mouse buttons, they +cannot be used with this function currently. \wxheading{Include files} @@ -3501,8 +3508,7 @@ Example: \helpref{RTTI overview}{runtimeclassoverview}\\ \helpref{wxDynamicCastThis}{wxdynamiccastthis}\\ \helpref{wxConstCast}{wxconstcast}\\ -\helpref{wxStaticCast}{wxstaticcast}\\ -\helpref{wx\_dynamic\_cast}{wxdynamiccastraw} +\helpref{wxStaticCast}{wxstaticcast} \membersection{wxDynamicCastThis}\label{wxdynamiccastthis} @@ -3545,23 +3551,6 @@ arguments is the same as for the standard cast. \wxheading{See also} -\helpref{wx\_dynamic\_cast}{wxdynamiccastraw},\\ -\helpref{wx\_reinterpret\_cast}{wxreinterpretcastraw},\\ -\helpref{wx\_static\_cast}{wxstaticcastraw} - - -\membersection{wx\_dynamic\_cast}\label{wxdynamiccastraw} - -\func{T}{wx\_dynamic\_cast}{T, x} - -Same as \texttt{dynamic\_cast(x)} if the compiler supports dynamic cast or -\texttt{(T)x} for old compilers. Unlike \helpref{wxDynamicCast}{wxdynamiccast}, -the cast it to the type \arg{T} and not to \texttt{T *} and also the order of -arguments is the same as for the standard cast. - -\wxheading{See also} - -\helpref{wx\_const\_cast}{wxconstcastraw},\\ \helpref{wx\_reinterpret\_cast}{wxreinterpretcastraw},\\ \helpref{wx\_static\_cast}{wxstaticcastraw} @@ -3576,7 +3565,6 @@ Same as \texttt{reinterpret\_cast(x)} if the compiler supports reinterpret ca \wxheading{See also} \helpref{wx\_const\_cast}{wxconstcastraw},\\ -\helpref{wx\_dynamic\_cast}{wxdynamiccastraw},\\ \helpref{wx\_static\_cast}{wxstaticcastraw} @@ -3593,7 +3581,6 @@ star is not appended to it. \wxheading{See also} \helpref{wx\_const\_cast}{wxconstcastraw},\\ -\helpref{wx\_dynamic\_cast}{wxdynamiccastraw},\\ \helpref{wx\_reinterpret\_cast}{wxreinterpretcastraw}