fix __SUNCC__ definition; added wxCHECK_SUNCC_VERSION

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2007-06-22 13:58:05 +00:00
parent f6e3890101
commit 2686d9339b
3 changed files with 28 additions and 8 deletions

View File

@@ -45,6 +45,7 @@ the corresponding topic.
\helpref{wxCHECK\_GCC\_VERSION}{wxcheckgccversion}\\
\helpref{wxCHECK\_MSG}{wxcheckmsg}\\
\helpref{wxCHECK\_RET}{wxcheckret}\\
\helpref{wxCHECK\_SUNCC\_VERSION}{wxchecksunccversion}\\
\helpref{wxCHECK\_VERSION}{wxcheckversion}\\
\helpref{wxCHECK\_VERSION\_FULL}{wxcheckversionfull}\\
\helpref{wxCHECK\_W32API\_VERSION}{wxcheckw32apiversion}\\
@@ -317,6 +318,15 @@ compiler (g++) version major.minor or greater. Otherwise, and also if
the compiler is not GNU C++ at all, returns $0$.
\membersection{wxCHECK\_SUNCC\_VERSION}\label{wxchecksunccversion}
\func{bool}{wxCHECK\_SUNCC\_VERSION}{\param{}{major, minor}}
Returns $1$ if the compiler being used to compile the code is Sun CC Pro
compiler and its version is at least \texttt{major.minor}. Otherwise returns
$0$.
\membersection{wxCHECK\_VERSION}\label{wxcheckversion}
\func{bool}{wxCHECK\_VERSION}{\param{}{major, minor, release}}