Vertical tabs orientation in gtk renderer of wxUniv.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2004-11-15 17:33:59 +00:00
parent c988c5b21b
commit 7166a05d7e
2 changed files with 87 additions and 37 deletions

View File

@@ -2503,9 +2503,8 @@ void wxWin32Renderer::DrawTab(wxDC& dc,
const wxSize indent = GetTabIndent();
if ( flags & wxCONTROL_SELECTED )
{
rect.Inflate( isVertical ? 0 : indent.x,
isVertical ? indent.y : 0
);
rect.Inflate( SELECT_FOR_VERTICAL( indent.x , 0),
SELECT_FOR_VERTICAL( 0, indent.y ));
switch ( dir )
{
default: