Implement support for button mnemonics in wxOSX/Cocoa.

Set the mnemonic as "key equivalent".

Closes #12917.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2012-10-28 01:08:32 +00:00
parent 031847a206
commit 0afa3752f6
4 changed files with 52 additions and 4 deletions

View File

@@ -49,6 +49,10 @@ public:
virtual bool OSXHandleClicked( double timestampsec );
#if wxOSX_USE_COCOA
void OSXSetAcceleratorFromLabel(const wxString& label);
#endif
protected:
DECLARE_DYNAMIC_CLASS(wxButton)
};