]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/themes/win32.cpp
somehow commit did not work
[wxWidgets.git] / src / univ / themes / win32.cpp
index af2f0c4a2858ea9b5ea984ff502335bb8cde22c6..e5760cca77cb595c37cab6e284bea3696718218d 100644 (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: