X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6bae67261c727ee5030abda0a5996e3f9fa6b6b2..18fa735d20b4c66db72b51d60b82a2b3f2cda763:/src/generic/notebook.cpp diff --git a/src/generic/notebook.cpp b/src/generic/notebook.cpp index ec05ba70b4..6e118b09aa 100644 --- a/src/generic/notebook.cpp +++ b/src/generic/notebook.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma implementation "notebook.h" -#endif - #ifdef __VMS #pragma message disable unscomzer #endif @@ -47,7 +43,7 @@ // ---------------------------------------------------------------------------- // check that the page index is valid -#define IS_VALID_PAGE(nPage) (((nPage) >= 0) && ((nPage) < GetPageCount())) +#define IS_VALID_PAGE(nPage) ((nPage) < GetPageCount()) // ---------------------------------------------------------------------------- // event table