Add missing wxMenuItem methods

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@75459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2013-12-29 03:23:01 +00:00
parent da4efa3fe3
commit 7d00c5c477

View File

@@ -258,6 +258,17 @@ public:
*/
wxColour& GetTextColour() const;
/**
Extract the accelerator from the given menu string, return NULL if none
found.
*/
static wxAcceleratorEntry *GetAccelFromString(const wxString& label);
/**
Get our accelerator or NULL (caller must delete the pointer)
*/
virtual wxAcceleratorEntry *GetAccel() const;
//@}
@@ -467,6 +478,12 @@ public:
*/
void SetTextColour(const wxColour& colour);
/**
Set the accel for this item - this may also be done indirectly with
SetText()
*/
virtual void SetAccel(wxAcceleratorEntry *accel);
//@}
};