+ if (GetToolBar()->HasFlag(wxTB_LEFT))
+ {
+ // Use the 'real' position. wxSIZE_NO_ADJUSTMENTS
+ // means, pretend we don't have toolbar/status bar, so we
+ // have the original client size.
+ GetToolBar()->SetSize(tx , ty , tw, ch , wxSIZE_NO_ADJUSTMENTS );
+ }
+ else if (GetToolBar()->HasFlag(wxTB_RIGHT))