#include <shortcutcust/shortcutcust.h>
Public Member Functions | |
wxShortcutCtrl () | |
wxShortcutCtrl (wxWindow *parent, wxWindowID id, const wxString &value=wxEmptyString, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, int style=0) | |
bool | Create (wxWindow *parent, wxWindowID id, const wxString &value=wxEmptyString, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, int style=0) |
void | Init () |
void | SetShortcut (const wxShortcutItem &item) |
const wxShortcutItem & | GetShortcut () const |
void | OnKeyDown (wxKeyEvent &event) |
wxString | GetShortcutString () const |
void | ApplyShortcut () |
Protected Attributes | |
wxShortcutItem | m_shortcut |
wxShortcutCtrl::wxShortcutCtrl | ( | ) | [inline] |
wxShortcutCtrl::wxShortcutCtrl | ( | wxWindow * | parent, | |
wxWindowID | id, | |||
const wxString & | value = wxEmptyString , |
|||
const wxPoint & | pos = wxDefaultPosition , |
|||
const wxSize & | size = wxDefaultSize , |
|||
int | style = 0 | |||
) | [inline] |
void wxShortcutCtrl::ApplyShortcut | ( | ) |
bool wxShortcutCtrl::Create | ( | wxWindow * | parent, | |
wxWindowID | id, | |||
const wxString & | value = wxEmptyString , |
|||
const wxPoint & | pos = wxDefaultPosition , |
|||
const wxSize & | size = wxDefaultSize , |
|||
int | style = 0 | |||
) |
const wxShortcutItem& wxShortcutCtrl::GetShortcut | ( | ) | const [inline] |
wxString wxShortcutCtrl::GetShortcutString | ( | ) | const |
void wxShortcutCtrl::Init | ( | ) |
void wxShortcutCtrl::OnKeyDown | ( | wxKeyEvent & | event | ) |
void wxShortcutCtrl::SetShortcut | ( | const wxShortcutItem & | item | ) | [inline] |
wxShortcutItem wxShortcutCtrl::m_shortcut [protected] |