Use bitfields to make wxMouseState smaller
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
8de5222362
commit
ddf6057454
@ -249,14 +249,14 @@ private:
|
||||
wxCoord m_x;
|
||||
wxCoord m_y;
|
||||
|
||||
bool m_leftDown;
|
||||
bool m_middleDown;
|
||||
bool m_rightDown;
|
||||
bool m_leftDown : 1;
|
||||
bool m_middleDown : 1;
|
||||
bool m_rightDown : 1;
|
||||
|
||||
bool m_controlDown;
|
||||
bool m_shiftDown;
|
||||
bool m_altDown;
|
||||
bool m_metaDown;
|
||||
bool m_controlDown : 1;
|
||||
bool m_shiftDown : 1;
|
||||
bool m_altDown : 1;
|
||||
bool m_metaDown : 1;
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user