Lines Matching refs:pBar
156 cbBarInfo* pBar = mpLayout->GetBars()[ event.GetId() - CB_CUSTOMIZE_MENU_FIRST_ITEM_ID ];
158 wxASSERT( pBar ); // DBG::
164 if ( pBar->mState == wxCBAR_HIDDEN )
166 if ( pBar->mAlignment == -1 )
168 pBar->mAlignment = 0; // just remove "-1" marking
172 if ( pBar->mAlignment == FL_ALIGN_TOP ||
173 pBar->mAlignment == FL_ALIGN_BOTTOM )
183 if ( pBar->mState == wxCBAR_FLOATING )
185 pBar->mAlignment = -1;
188 mpLayout->SetBarState( pBar, newState, true );
191 mpLayout->RepositionFloatedBar( pBar );