]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/notebook/notebook.cpp
Added FindById
[wxWidgets.git] / samples / notebook / notebook.cpp
index ab4506cbd726fe8761d337a068e79c96c6cdf66f..01ed0558dd1b45c8e8e89b86580e7f78a1ed78ec 100644 (file)
@@ -161,11 +161,9 @@ wxPanel *MyNotebook::CreateInsertPage()
 
 void MyNotebook::CreateInitialPages()
 {
-    wxPanel *panel = (wxPanel *) NULL;
-
     // Create and add some panels to the notebook
 
-    panel = CreateRadioButtonsPage();
+    wxPanel *panel = CreateRadioButtonsPage();
     AddPage( panel, RADIOBUTTONS_PAGE_NAME, FALSE, GetIconIndex() );
 
     panel = CreateVetoPage();