]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/notebook.cpp
fixed a signed/unsigned comparison warning introudced by last warning fix...
[wxWidgets.git] / src / generic / notebook.cpp
index ec05ba70b4f967934ca7f60f86bcf3e5c9657ec2..6e118b09aa80703fa9e96eb0c364fe2c81f289bb 100644 (file)
 // 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