]> git.saurik.com Git - wxWidgets.git/commit
Ensure that wxAuiNotebook::SetArtProvider() always does set it.
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 23 Jul 2010 23:33:46 +0000 (23:33 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 23 Jul 2010 23:33:46 +0000 (23:33 +0000)
commit4026f044ee28289b2c05e05f2ec7f15f02b9cf76
tree202b674fa0661f6f1d9cba661b0650debb1190c7
parent1632883f9ae83cb0f75b82432ab1f8ca7cfae451
Ensure that wxAuiNotebook::SetArtProvider() always does set it.

It used to only set the provider if the height of the tabs defined by the new
provider was different from the one used by the old one, otherwise the call
was optimized away. Fix this by explicitly setting the art provider for all
tabs in SetArtProvider() itself if UpdateTabCtrlHeight() didn't do it.

Closes #9738.

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