X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e1082c9fa8763696ea87c75b1435db9d3a2e1d7c..8204abdefe62d9903692f6758ec1ecded4034cd6:/docs/latex/wx/function.tex diff --git a/docs/latex/wx/function.tex b/docs/latex/wx/function.tex index 0b3248160c..33ee4e679e 100644 --- a/docs/latex/wx/function.tex +++ b/docs/latex/wx/function.tex @@ -37,7 +37,7 @@ the corresponding topic. \helpref{wxCHECK\_VERSION}{wxcheckversion}\\ \helpref{wxCHECK}{wxcheck}\\ \helpref{wxClientDisplayRect}{wxclientdisplayrect}\\ -\helpref{wxClipboardOpen}{wxclipboardopen}\\ +\helpref{wxClipboardOpen}{functionwxclipboardopen}\\ \helpref{wxCloseClipboard}{wxcloseclipboard}\\ \helpref{wxColourDisplay}{wxcolourdisplay}\\ \helpref{wxCOMPILE\_TIME\_ASSERT}{wxcompiletimeassert}\\ @@ -51,12 +51,11 @@ the corresponding topic. \helpref{wxDDEInitialize}{wxddeinitialize}\\ \helpref{wxDROP\_ICON}{wxdropicon}\\ \helpref{wxDebugMsg}{wxdebugmsg}\\ -\helpref{wxDirExists}{wxdirexists}\\ +\helpref{wxDirExists}{functionwxdirexists}\\ \helpref{wxDirSelector}{wxdirselector}\\ \helpref{wxDisplayDepth}{wxdisplaydepth}\\ -\helpref{wxDisplaySizeMM}{wxdisplaysizemm}\\ -\helpref{wxDisplaySize}{wxdisplaysize}\\ \helpref{wxDisplaySize}{wxdisplaysize}\\ +\helpref{wxDisplaySizeMM}{wxdisplaysizemm}\\ \helpref{wxDos2UnixFilename}{wxdos2unixfilename}\\ \helpref{wxDynamicCastThis}{wxdynamiccastthis}\\ \helpref{wxDynamicCast}{wxdynamiccast}\\ @@ -71,7 +70,7 @@ the corresponding topic. \helpref{wxFAIL\_MSG}{wxfailmsg}\\ \helpref{wxFAIL}{wxfail}\\ \helpref{wxFatalError}{wxfatalerror}\\ -\helpref{wxFileExists}{wxfileexists}\\ +\helpref{wxFileExists}{functionwxfileexists}\\ \helpref{wxFileModificationTime}{wxfilemodificationtime}\\ \helpref{wxFileNameFromPath}{wxfilenamefrompath}\\ \helpref{wxFileSelector}{wxfileselector}\\ @@ -121,6 +120,7 @@ the corresponding topic. \helpref{wxGetSingleChoice}{wxgetsinglechoice}\\ \helpref{wxGetTempFileName}{wxgettempfilename}\\ \helpref{wxGetTextFromUser}{wxgettextfromuser}\\ +\helpref{wxGetTopLevelParent}{wxgettoplevelparent}\\ \helpref{wxGetTranslation}{wxgettranslation}\\ \helpref{wxGetUTCTime}{wxgetutctime}\\ \helpref{wxGetUserHome}{wxgetuserhome}\\ @@ -519,7 +519,7 @@ terminated with a NULL pointer.} Exits application after calling \helpref{wxApp::OnExit}{wxapponexit}. Should only be used in an emergency: normally the top-level frame should be deleted (after deleting all other frames) to terminate the -application. See \helpref{wxWindow::OnCloseWindow}{wxwindowonclosewindow} and \helpref{wxApp}{wxapp}. +application. See \helpref{wxCloseEvent}{wxcloseevent} and \helpref{wxApp}{wxapp}. \wxheading{Include files} @@ -661,7 +661,7 @@ threads. \helpref{wxFile}{wxfile}\\ \helpref{wxFileName}{wxfilename} -\membersection{::wxDirExists}\label{wxdirexists} +\membersection{::wxDirExists}\label{functionwxdirexists} \func{bool}{wxDirExists}{\param{const wxString\& }{dirname}} @@ -674,7 +674,7 @@ Returns TRUE if the directory exists. Converts a DOS to a Unix filename by replacing backslashes with forward slashes. -\membersection{::wxFileExists}\label{wxfileexists} +\membersection{::wxFileExists}\label{functionwxfileexists} \func{bool}{wxFileExists}{\param{const wxString\& }{filename}} @@ -1960,7 +1960,7 @@ class instead. -\membersection{::wxClipboardOpen}\label{wxclipboardopen} +\membersection{::wxClipboardOpen}\label{functionwxclipboardopen} \func{bool}{wxClipboardOpen}{\void} @@ -2107,16 +2107,6 @@ See also \helpref{wxDDEServer}{wxddeserver}, \helpref{wxDDEClient}{wxddeclient}, -\membersection{::wxDisplaySize}\label{wxdisplaysize} - -\func{void}{wxDisplaySize}{\param{int *}{width}, \param{int *}{height}} - -Gets the physical size of the display in pixels. - -\wxheading{Include files} - - - \membersection{::wxEnableTopLevelWindows}\label{wxenabletoplevelwindows} \func{void}{wxEnableTopLevelWindow}{\param{bool}{ enable = TRUE}} @@ -2244,6 +2234,17 @@ See also \helpref{wxWriteResource}{wxwriteresource}, \helpref{wxConfigBase}{wxco +\membersection{::wxGetTopLevelParent}\label{wxgettoplevelparent} + +\func{wxWindow *}{wxGetTopLevelParent}{\param{wxWindow }{*win}} + +Returns the first top level parent of the given window, or in other words, the +frame or dialog containing it, or {\tt NULL}. + +\wxheading{Include files} + + + \membersection{::wxLoadUserResource}\label{wxloaduserresource} \func{wxString}{wxLoadUserResource}{\param{const wxString\& }{resourceName}, \param{const wxString\& }{resourceType=``TEXT"}} @@ -2363,7 +2364,7 @@ See also \helpref{wxGetResource}{wxgetresource}, \helpref{wxConfigBase}{wxconfig -\section{Byte order macros}\label{macros} +\section{Byte order macros}\label{byteordermacros} The endian-ness issues (that is the difference between big-endian and little-endian architectures) are important for the portable programs working @@ -2421,7 +2422,7 @@ been compiled on a big-endian architecture, the value will be unchanged. Use these macros to read data from and write data to a file that stores data in big-endian format. -\section{RTTI functions}\label{macros} +\section{RTTI functions}\label{rttimacros} wxWindows uses its own RTTI ("run-time type identification") system which predates the current standard C++ RTTI and so is kept for backwards