1. wxKeyEvent::GetKeyCode() and HasModifiers() added and documented
2. wxGridCellEditor::IsAcceptedKey() added and implemented 3. no changes in other files (but cvs wants to commit them) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -768,7 +768,11 @@ public:
|
||||
bool MetaDown() const { return m_metaDown; }
|
||||
bool AltDown() const { return m_altDown; }
|
||||
bool ShiftDown() const { return m_shiftDown; }
|
||||
long KeyCode() const { return m_keyCode; }
|
||||
|
||||
bool HasModifiers() const { return ControlDown() || AltDown() || MetaDown(); }
|
||||
|
||||
// get the key code: an ASCII7 char or an element of wxKeyCode enum
|
||||
int GetKeyCode() const { return (int)m_keyCode; }
|
||||
|
||||
// Find the position of the event
|
||||
void GetPosition(wxCoord *xpos, wxCoord *ypos) const
|
||||
@@ -796,6 +800,9 @@ public:
|
||||
|
||||
void CopyObject(wxObject& obj) const;
|
||||
|
||||
// deprecated
|
||||
long KeyCode() const { return m_keyCode; }
|
||||
|
||||
public:
|
||||
wxCoord m_x, m_y;
|
||||
|
||||
|
Reference in New Issue
Block a user