allow specifying the initial modifier keys values in the ctor

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-09-19 23:59:39 +00:00
parent 8a3e536cd5
commit ba4d737a9e
2 changed files with 13 additions and 7 deletions

View File

@@ -26,11 +26,14 @@ class wxKeyboardState
{
public:
/**
Default constructor.
Constructor initializes the modifier key settings.
By default, no modifiers are active.
*/
wxKeyboardState();
wxKeyboardState(bool controlDown,
bool shiftDown,
bool altDown,
bool metaDown);
/**
Return the bit mask of all pressed modifier keys.