]> git.saurik.com Git - wxWidgets.git/blobdiff - docs/latex/wx/ttab.tex
document that Remove(index) doesn't delete the window neither (replaces patch 1470834)
[wxWidgets.git] / docs / latex / wx / ttab.tex
index 2e594f44700759d1e8e767c60b81e4c6ce45bf67..b3b4112c82e2329664af130d7bae210d67c6c5aa 100644 (file)
@@ -112,7 +112,7 @@ void MyDialog::Init(void)
   // Calculate the tab width for 4 tabs, based on a view width of 326 and
   // the current horizontal spacing. Adjust the view width to exactly fit
   // the tabs.
-  view->CalculateTabWidth(4, TRUE);
+  view->CalculateTabWidth(4, true);
 
   if (!view->AddTab(TEST_TAB_CAT,        wxString("Cat")))
     return;