- // don't add separators to the vertical toolbar - looks ugly
- //if ( isVertical && tool->IsSeparator() )
- // continue;
+ // don't add separators to the vertical toolbar with old comctl32.dll
+ // versions as they didn't handle this properly
+ if ( isVertical && tool->IsSeparator() &&
+ wxTheApp->GetComCtl32Version() <= 472 )
+ {
+ continue;
+ }
+