Add wxHAS_LONG_LONG_T_DIFFERENT_FROM_LONG symbol.

Instead of writing a rather unreadable "defined(wxLongLong_t) &&
!defined(wxLongLongIsLong)" expression every time we need to decide if a
function needs to be overloaded for both long and long long, add a new symbol
which can be tested directly.

No real changes in the code.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2011-01-19 10:47:49 +00:00
parent 6686fbad16
commit 066e5e3fd2
5 changed files with 22 additions and 12 deletions

View File

@@ -209,6 +209,13 @@ Currently the following symbols exist:
@itemdef{wxHAS_LARGE_FFILES, Defined if wxFFile supports files more than 4GB in
size (notice that you must include @c wx/filefn.h before testing for this
symbol).}
@itemdef{wxHAS_LONG_LONG_T_DIFFERENT_FROM_LONG, Defined if compiler supports a
64 bit integer type (available as @c wxLongLong_t) and this type is
different from long. Notice that, provided wxUSE_LONGLONG is not turned
off, some 64 bit type is always available to wxWidgets programs and this
symbol only indicates a presence of such primitive type. It is useful to
decide whether some function should be overloaded for both
<code>long</code> and <code>long long</code> types.}
@itemdef{wxHAS_MULTIPLE_FILEDLG_FILTERS, Defined if wxFileDialog supports multiple ('|'-separated) filters.}
@itemdef{wxHAS_POWER_EVENTS, Defined if wxPowerEvent are ever generated on the current platform.}
@itemdef{wxHAS_RADIO_MENU_ITEMS,