No changes, just rename OSXSetAcceleratorFromLabel().

Make the name of the function more general and call it
OSXUpdateAfterLabelChange() as it's supposed to be called whenever the label
changes.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2012-11-04 23:50:28 +00:00
parent 04a6d8efe8
commit 5af80d3112
3 changed files with 3 additions and 3 deletions

View File

@@ -102,7 +102,7 @@ void wxButton::SetLabel(const wxString& label)
wxAnyButton::SetLabel(label);
#if wxOSX_USE_COCOA
OSXSetAcceleratorFromLabel(label);
OSXUpdateAfterLabelChange(label);
#endif
}