]> git.saurik.com Git - wxWidgets.git/commit - include/wx/gtk/stattext.h
Replace wxST_MARKUP style with wxControl::SetLabelMarkup().
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 27 Feb 2011 12:47:26 +0000 (12:47 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 27 Feb 2011 12:47:26 +0000 (12:47 +0000)
commit3da9cffc79cd41b5f1d0c517c8c945596751e86f
treed2158e7b615bdacca5ff497d9454a8df035b4227
parent6ea2bc50c8f343b1919c5583706163fd157ddc6f
Replace wxST_MARKUP style with wxControl::SetLabelMarkup().

This is an incompatible change which removes the wxStaticText-specific
wxST_MARKUP style and adds wxControl::SetLabelMarkup() replacing it.

It doesn't actually change anything yet but it simplifies wxStaticText code a
lot by getting rid of many markup-related functions in it which had to behave
differently depending on whether wxST_MARKUP was used or not and also paves
way for adding markup support for the other controls in the future.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
17 files changed:
docs/changes.txt
include/wx/control.h
include/wx/gtk/stattext.h
include/wx/stattext.h
interface/wx/control.h
interface/wx/stattext.h
samples/widgets/static.cpp
src/common/ctrlcmn.cpp
src/common/stattextcmn.cpp
src/generic/stattextg.cpp
src/gtk/stattext.cpp
src/motif/stattext.cpp
src/msw/stattext.cpp
src/os2/stattext.cpp
src/osx/stattext_osx.cpp
src/univ/stattext.cpp
tests/controls/label.cpp