X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/00e086a7f09c2a2e00a3ee0ca57e338ed608c88f..fe4fcb5f4f4fc7ee4c116673c213f53b2bc798fc:/src/univ/themes/win32.cpp diff --git a/src/univ/themes/win32.cpp b/src/univ/themes/win32.cpp index af2f0c4a28..e5760cca77 100644 --- a/src/univ/themes/win32.cpp +++ b/src/univ/themes/win32.cpp @@ -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: