]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/kbdstate.h
Add correct wxArgNormalizer code for signed char.
[wxWidgets.git] / include / wx / kbdstate.h
index b3a44e88c06e7b9e4d9f95382f6396e11e8cd208..d2055a0c09ef51850bbbd28ac3dcb1752170d66e 100644 (file)
 class WXDLLIMPEXP_CORE wxKeyboardState
 {
 public:
-    wxKeyboardState()
-        : m_controlDown(false),
-          m_shiftDown(false),
-          m_altDown(false),
-          m_metaDown(false)
+    wxKeyboardState(bool controlDown = false,
+                    bool shiftDown = false,
+                    bool altDown = false,
+                    bool metaDown = false)
+        : m_controlDown(controlDown),
+          m_shiftDown(shiftDown),
+          m_altDown(altDown),
+          m_metaDown(metaDown)
     {
     }