X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/34a0c9f4c1b3444737ff145721e03ecaee6af4b2..2b1ff57f1ee08eb970520de784816c4115bd84f0:/src/univ/notebook.cpp diff --git a/src/univ/notebook.cpp b/src/univ/notebook.cpp index 408034a35e..68e2ec2e23 100644 --- a/src/univ/notebook.cpp +++ b/src/univ/notebook.cpp @@ -21,6 +21,10 @@ #pragma implementation "univnotebook.h" #endif +#ifdef __VMS +#pragma message disable unscomzer +#endif + #include "wx/wxprec.h" #ifdef __BORLANDC__ @@ -40,7 +44,12 @@ // macros // ---------------------------------------------------------------------------- +#if 0 +// due to unsigned type nPage is always >= 0 #define IS_VALID_PAGE(nPage) (((nPage) >= 0) && ((size_t(nPage)) < GetPageCount())) +#else +#define IS_VALID_PAGE(nPage) ((size_t(nPage)) < GetPageCount()) +#endif // ---------------------------------------------------------------------------- // constants