]> git.saurik.com Git - wxWidgets.git/commit
reorder GetLabel(), GetLabelText(), SetLabel() and SetLabelText() function declaratio...
authorFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Sun, 21 Mar 2010 21:39:15 +0000 (21:39 +0000)
committerFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Sun, 21 Mar 2010 21:39:15 +0000 (21:39 +0000)
commit32ee98eb765b9b574b8bc0da4396c1203f499d76
treef51eaff5784e336f16aa594c4b68ee82f1c58280
parent90497db95b7e8ddbc6e0d1b66ce9d76283bd5ebf
reorder GetLabel(), GetLabelText(), SetLabel() and SetLabelText() function declarations, implementations and relative documentations.

Add wxStaticTextBase::GetLabelWithoutMarkup() and use it in the wxMSW implementation of wxStaticText::SetLabel() to close bug #11446; the function RemoveMarkup() which was previously used in fact could not check for presence/absence of wxST_MARKUP style since it's a static function.

Add wxStaticTextBase::SetLabelText() functions for symmetry with wxControlBase::SetLabelText()

Add test unit for both wxControl::*Label* and wxStaticText::*Label* functions.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
18 files changed:
include/wx/control.h
include/wx/stattext.h
interface/wx/control.h
interface/wx/stattext.h
src/common/ctrlcmn.cpp
src/common/stattextcmn.cpp
src/msw/stattext.cpp
tests/Makefile.in
tests/controls/label.cpp [new file with mode: 0644]
tests/makefile.bcc
tests/makefile.gcc
tests/makefile.vc
tests/makefile.wat
tests/test.bkl
tests/test_test_gui.dsp
tests/test_vc7_test_gui.vcproj
tests/test_vc8_test_gui.vcproj
tests/test_vc9_test_gui.vcproj