]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/notebook.cpp
compilation fix for WXWIN_COMPATIBILITY_2_2 (bug 1252476)
[wxWidgets.git] / src / generic / notebook.cpp
index 69f7bdd794c5c6a45ca270fc3547a06aaaf66e8e..11b4abfe09bc52e2d3295edc925ea6c659f0238d 100644 (file)
@@ -304,7 +304,7 @@ bool wxNotebook::RemovePage(size_t nPage)
 // remove one page from the notebook
 wxWindow* wxNotebook::DoRemovePage(size_t nPage)
 {
-    wxCHECK( IS_VALID_PAGE(nPage), false );
+    wxCHECK( IS_VALID_PAGE(nPage), NULL );
 
     m_pages[nPage]->Show(false);
     //    m_pages[nPage]->Lower();