]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixed compilation error for Motif.
authorStefan Neis <Stefan.Neis@t-online.de>
Sun, 26 Jun 2005 15:46:28 +0000 (15:46 +0000)
committerStefan Neis <Stefan.Neis@t-online.de>
Sun, 26 Jun 2005 15:46:28 +0000 (15:46 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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();