]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/notebook.cpp
moving libiconv and libz into linker flags, as Xcode resolves the links otherwise...
[wxWidgets.git] / src / generic / notebook.cpp
index ec05ba70b4f967934ca7f60f86bcf3e5c9657ec2..71072898ffd0e7209e30cea7cf18dc91d8b58505 100644 (file)
@@ -47,7 +47,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