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:
Michael Wetherell 2006-06-15 14:16:10 +00:00
parent 8de5222362
commit ddf6057454

View File

@ -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;
};