]> git.saurik.com Git - wxWidgets.git/blobdiff - docs/latex/wx/tsplittr.tex
Fixed to work with the new wxMacControl system.
[wxWidgets.git] / docs / latex / wx / tsplittr.tex
index 2be27dee73a20540ee693bba32c658875eb3971c..5e7a363960d88a92ea34dee3320f082c7590ed66 100644 (file)
@@ -22,7 +22,7 @@ subwindows and hiding one of them.
 
   rightWindow = new MyWindow(splitter);
   rightWindow->SetScrollbars(20, 20, 50, 50);
-  rightWindow->Show(FALSE);
+  rightWindow->Show(false);
 
   splitter->Initialize(leftWindow);
 
@@ -39,8 +39,8 @@ The next fragment shows how the splitter window can be manipulated after creatio
   {
         if ( splitter->IsSplit() )
             splitter->Unsplit();
-        leftWindow->Show(TRUE);
-        rightWindow->Show(TRUE);
+        leftWindow->Show(true);
+        rightWindow->Show(true);
         splitter->SplitVertically( leftWindow, rightWindow );
   }
 
@@ -48,8 +48,8 @@ The next fragment shows how the splitter window can be manipulated after creatio
   {
         if ( splitter->IsSplit() )
             splitter->Unsplit();
-        leftWindow->Show(TRUE);
-        rightWindow->Show(TRUE);
+        leftWindow->Show(true);
+        rightWindow->Show(true);
         splitter->SplitHorizontally( leftWindow, rightWindow );
   }