]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/widgets/notebook.cpp
WinCE doesn't have GetMessageTime
[wxWidgets.git] / samples / widgets / notebook.cpp
index 5c81ee9117a23ddc72e2c51a2e7a441a0f47d1a4..967cb19b5bf2ba9b9231093bc2673621a8cd3092 100644 (file)
@@ -136,7 +136,7 @@ protected:
 
     // is the value in range?
     bool IsValidValue(int val) const
-        { return (val >= 0) && (val < m_notebook->GetPageCount()); }
+        { return (val >= 0) && (val < (int) m_notebook->GetPageCount()); }
 
     // the controls
     // ------------