]> git.saurik.com Git - wxWidgets.git/commit - include/wx/aui/tabart.h
Fix border size computation in wxAuiTabArt.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 22 Oct 2012 21:46:46 +0000 (21:46 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 22 Oct 2012 21:46:46 +0000 (21:46 +0000)
commit1e30d94eff7dca642729cb2f557650e8f2ebc61f
tree2e417b13671160c0c67e4006797d6a49edd11bd0
parentfe24e4e9c297776351b0a6b8beafd9c7c3433148
Fix border size computation in wxAuiTabArt.

Space was reserved for the borders even when it wasn't filled, resulting in
visual artefacts. Fix this by virtualizing the function returning the
additional space needed for the borders and only overriding it to return non
zero in wxAuiGtkTabArt.

Closes #14710.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/aui/tabart.h
include/wx/aui/tabartgtk.h
src/aui/auibook.cpp
src/aui/tabart.cpp
src/aui/tabartgtk.cpp