]> git.saurik.com Git - wxWidgets.git/commit
Don't call base class SetLabel() from GTKSetLabelForLabel().
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 27 Feb 2011 12:47:15 +0000 (12:47 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 27 Feb 2011 12:47:15 +0000 (12:47 +0000)
commit6ea2bc50c8f343b1919c5583706163fd157ddc6f
treec1151012783094b5396043ebb3a1c5581ba624fe
parentf27d4060df621a805597dd06998e71939d263734
Don't call base class SetLabel() from GTKSetLabelForLabel().

Calling wxControlBase::SetLabel() only from GTKSetLabelForLabel() made its
behaviour inconsistent with GTKSetLabelWithMarkupForLabel() and also was
redundant in all but two places from which it was called, so remove this call
from this function itself and instead add it to its callers where it's really
needed.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/gtk/control.cpp
src/gtk/radiobut.cpp