]> git.saurik.com Git - wxWidgets.git/commit - include/wx/osx/button.h
Add markup support to wxOSX/Cocoa wxStaticText and wxButton.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 27 Feb 2011 12:48:46 +0000 (12:48 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 27 Feb 2011 12:48:46 +0000 (12:48 +0000)
commitf672c969519f7565cd80f85adeca5a6efdace8f5
tree91fb7db4e92acff32dc985aeb44756abcd10b81a
parent83586c2aaec7a1045a0bb146a413bdd7f3581db0
Add markup support to wxOSX/Cocoa wxStaticText and wxButton.

Add wxMarkupToAttrString helper that converts wx markup to OS X attribute
strings and use it in wxStaticText and wxButton.

This required adding new SetLabelMarkup() method to wxWidgetCocoaImpl, it
seems to make sense to have it there as it could be implemented by more
controls in the future.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/osx/button.h
include/wx/osx/cocoa/private/markuptoattr.h [new file with mode: 0644]
include/wx/osx/core/private.h
include/wx/osx/stattext.h
src/osx/button_osx.cpp
src/osx/cocoa/button.mm
src/osx/cocoa/stattext.mm
src/osx/stattext_osx.cpp