- mpLayout->SetBarState(x, wxCBAR_FLOATING, TRUE); // HACK !!!
- mpLayout->SetBarState(x, 0, TRUE); // HACK !!!
- wxYield(); // HACK !!! needed to resize BEFORE redraw
- mpLayout->RefreshNow( TRUE ); // HACK !!! needed to trigger redraw
-
- // // mpLayout->SetBarState(x, wxCBAR_FLOATING, TRUE);
- // // mpLayout->RecalcLayout(true);
- // // // mpLayout->RepositionFloatedBar(x);
- // // mpLayout->RecalcLayout(true);
- // // mpLayout->RepositionFloatedBar(x);
- // // mpLayout->SetBarState(x, 0, TRUE);
- // // wxYield();
- // // mpLayout->RefreshNow( TRUE );
- // // mpLayout->RecalcLayout(true);
+ mpLayout->SetBarState(x, wxCBAR_FLOATING, true); // HACK !!!
+ mpLayout->SetBarState(x, 0, true); // HACK !!!
+ wxYield(); // HACK !!! needed to resize BEFORE redraw
+ mpLayout->RefreshNow( true ); // HACK !!! needed to trigger redraw
+
+ // mpLayout->SetBarState(x, wxCBAR_FLOATING, true);
+ // mpLayout->RecalcLayout(true);
+ // mpLayout->RepositionFloatedBar(x);
+ // mpLayout->RecalcLayout(true);
+ // mpLayout->RepositionFloatedBar(x);
+ // mpLayout->SetBarState(x, 0, true);
+ // wxYield();
+ // mpLayout->RefreshNow( true );
+ // mpLayout->RecalcLayout(true);