From: Vadim Zeitlin Date: Sun, 12 Jan 2003 22:55:05 +0000 (+0000) Subject: added wxCHECK_GCC/W32API_VERSION X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/a30c309aa84b756a10c6d7855b8012820d920ee5 added wxCHECK_GCC/W32API_VERSION git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/docs/latex/wx/function.tex b/docs/latex/wx/function.tex index c82b49f4df..3a137b085c 100644 --- a/docs/latex/wx/function.tex +++ b/docs/latex/wx/function.tex @@ -30,12 +30,14 @@ the corresponding topic. \helpref{wxBITMAP}{wxbitmapmacro}\\ \helpref{wxBeginBusyCursor}{wxbeginbusycursor}\\ \helpref{wxBell}{wxbell}\\ +\helpref{wxCHECK}{wxcheck}\\ \helpref{wxCHECK2\_MSG}{wxcheck2msg}\\ \helpref{wxCHECK2}{wxcheck2}\\ +\helpref{wxCHECK\_GCC\_VERSION}{wxcheckgccversion}\\ \helpref{wxCHECK\_MSG}{wxcheckmsg}\\ \helpref{wxCHECK\_RET}{wxcheckret}\\ \helpref{wxCHECK\_VERSION}{wxcheckversion}\\ -\helpref{wxCHECK}{wxcheck}\\ +\helpref{wxCHECK\_W32API\_VERSION}{wxcheckw32apiversion}\\ \helpref{wxClientDisplayRect}{wxclientdisplayrect}\\ \helpref{wxClipboardOpen}{functionwxclipboardopen}\\ \helpref{wxCloseClipboard}{wxcloseclipboard}\\ @@ -274,6 +276,22 @@ the following can be done: } \end{verbatim} +\membersection{wxCHECK\_GCC\_VERSION}\label{wxcheckgccversion} + +\func{bool}{wxCHECK\_GCC\_VERSION}{\param{}{major, minor, release}} + +Returns $1$ if the compiler being used to compile the code is GNU C++ +compiler (g++) version major.minor.release or greater. Otherwise, and also if +the compiler is not GNU C++ at all, returns $0$. + +\membersection{wxCHECK\_W32API\_VERSION}\label{wxcheckw32apiversion} + +\func{bool}{wxCHECK\_GCC\_VERSION}{\param{}{major, minor, release}} + +Returns $1$ if the version of w32api headers used is major.minor.release or +greater. Otherwise, and also if we are not compiling with mingw32/cygwin under +Win32 at all, returns $0$. + \section{Application initialization and termination}\label{appinifunctions} The functions in this section are used on application startup/shutdown and also