use unsgined int instead of int for 1 bit bitfields (SGI CC warning fix)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
0ea2339167
commit
9bb50fd0b0
@ -263,12 +263,12 @@ private:
|
||||
int m_height; // height of this item
|
||||
|
||||
// use bitfields to save size
|
||||
int m_isCollapsed :1;
|
||||
int m_hasHilight :1; // same as focused
|
||||
int m_hasPlus :1; // used for item which doesn't have
|
||||
unsigned int m_isCollapsed :1;
|
||||
unsigned int m_hasHilight :1; // same as focused
|
||||
unsigned int m_hasPlus :1; // used for item which doesn't have
|
||||
// children but has a [+] button
|
||||
int m_isBold :1; // render the label in bold font
|
||||
int m_ownsAttr :1; // delete attribute when done
|
||||
unsigned int m_isBold :1; // render the label in bold font
|
||||
unsigned int m_ownsAttr :1; // delete attribute when done
|
||||
|
||||
DECLARE_NO_COPY_CLASS(wxGenericTreeItem)
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user