X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0cbc5287be2ff31581757553db319475ff6f515b..89579a60d7ba7da32777647ad7647af69ec4e687:/src/x11/window.cpp?ds=inline diff --git a/src/x11/window.cpp b/src/x11/window.cpp index b106def7b6..7c5cc615f2 100644 --- a/src/x11/window.cpp +++ b/src/x11/window.cpp @@ -45,10 +45,10 @@ #include "wx/listbox.h" #include "wx/scrolwin.h" #include "wx/layout.h" + #include "wx/menuitem.h" #endif #include "wx/module.h" -#include "wx/menuitem.h" #include "wx/fontutil.h" #include "wx/univ/renderer.h" @@ -1673,8 +1673,8 @@ wxMouseState wxGetMouseState() ms.SetControlDown(mask & ControlMask); ms.SetShiftDown(mask & ShiftMask); - ms.SetAltDown(mask & Mod1Mask); - ms.SetMetaDown(mask & Mod2Mask); + ms.SetAltDown(mask & Mod3Mask); + ms.SetMetaDown(mask & Mod1Mask); return ms; }