corrected access to NULL parameters in wxGetOsVersion
replaced wxMACINTOSH with wxMAC and wxMAC_DARWIN to differentiate return value of wxGetOsVersion according to whether Mac paths or Unix paths are used git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -11,7 +11,7 @@ The following constants are defined in wxWindows:
|
||||
\begin{itemize}\itemsep=0pt
|
||||
\item {\tt wxMAJOR\_VERSION} is the major version of wxWindows
|
||||
\item {\tt wxMINOR\_VERSION} is the minor version of wxWindows
|
||||
\item {\tt wxRELASE\_NUMBER} is the release number
|
||||
\item {\tt wxRELEASE\_NUMBER} is the release number
|
||||
\end{itemize}
|
||||
|
||||
For example, the values or these constants for wxWindows 2.1.15 are 2, 1 and
|
||||
@@ -1698,7 +1698,7 @@ Gets operating system version information.
|
||||
|
||||
\begin{twocollist}\itemsep=0pt
|
||||
\twocolitemruled{Platform}{Return types}
|
||||
\twocolitem{Macintosh}{Return value is wxMACINTOSH.}
|
||||
\twocolitem{Mac OS}{Return value is wxMAC when compiled with CodeWarrior under Mac OS 8.x/9.x and Mac OS X, wxMAC_DARWIN when compiled with the Apple Developer Tools under Mac OS X.}
|
||||
\twocolitem{GTK}{Return value is wxGTK, For GTK 1.0, {\it major} is 1, {\it minor} is 0. }
|
||||
\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.}
|
||||
|
Reference in New Issue
Block a user