X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8480b297e70a29b785421ded6db22ae024e35038..5824f314a3ac14fb4f4c8c2db7823076fedbbee8:/docs/latex/wx/app.tex diff --git a/docs/latex/wx/app.tex b/docs/latex/wx/app.tex index 54648146b3..e894a39d17 100644 --- a/docs/latex/wx/app.tex +++ b/docs/latex/wx/app.tex @@ -150,13 +150,19 @@ function will find the first top-level window (frame or dialog) and return that. \constfunc{bool}{GetUseBestVisual}{\void} -Returns TRUE if the application will use the best visual on system that support +Returns TRUE if the application will use the best visual on systems that support different visuals, FALSE otherwise. \wxheading{See also} \helpref{SetUseBestVisual}{wxappsetusebestvisual} +\membersection{wxApp::GetVendorName}\label{wxappgetvendorname} + +\constfunc{wxString}{GetVendorName}{\void} + +Returns the application's vendor name. + \membersection{wxApp::ExitMainLoop}\label{wxappexitmainloop} \func{void}{ExitMainLoop}{\void} @@ -265,7 +271,7 @@ The default handler calls \helpref{wxWindow::Close}{wxwindowclose} with a TRUE a \wxheading{Remarks} -Under X, OnEndSession is called in response to the 'die' event. +Under X, OnEndSession is called in response to the `die' event. Under Windows, OnEndSession is called in response to the WM\_ENDSESSION message. @@ -310,7 +316,7 @@ and vetoes the shutdown if Close returns FALSE. This will be sufficient for many \wxheading{Remarks} -Under X, OnQueryEndSession is called in response to the 'save session' event. +Under X, OnQueryEndSession is called in response to the `save session' event. Under Windows, OnQueryEndSession is called in response to the WM\_QUERYENDSESSION message. @@ -447,6 +453,19 @@ needs to use the top window. \helpref{wxApp::GetTopWindow}{wxappgettopwindow}, \helpref{wxApp::OnInit}{wxapponinit} + +\membersection{wxApp::SetVendorName}\label{wxappsetvendorname} + +\func{void}{SetVendorName}{\param{const wxString\& }{name}} + +Sets the name of application's vendor. The name will be used +in registry access. A default name is set by +wxWindows. + +\wxheading{See also} + +\helpref{wxApp::GetVendorName}{wxappgetvendorname} + \membersection{wxApp::GetStdIcon}\label{wxappgetstdicon} \func{virtual wxIcon}{GetStdIcon}{\param{int }{which}} const @@ -464,9 +483,9 @@ can be overridden by the user to change the default icons. \func{void}{SetUseBestVisual}{\param{bool}{ flag}} Allows the programmer to specify whether the application will use the best visual -on system that support several visual on the same display. This is typically the -case under Solaris and IRIX, where the default visual is only 8-bit but some apps -are supposed to run in TrueColour mode. +on systems that support several visual on the same display. This is typically the +case under Solaris and IRIX, where the default visual is only 8-bit whereas certain +appications are supposed to run in TrueColour mode. Note that this function has to be called in the constructor of the {\tt wxApp} instance and won't have any effect when called later on. @@ -476,3 +495,4 @@ This function currently only has effect under GTK. \wxheading{Parameters} \docparam{flag}{If TRUE, the app will use the best visual.} +