change Has/SetFlag() to take int instead of unsigned as the latter provokes VC7 warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -331,7 +331,7 @@ public:
|
||||
return *this;
|
||||
}
|
||||
|
||||
wxAuiPaneInfo& SetFlag(unsigned int flag, bool option_state)
|
||||
wxAuiPaneInfo& SetFlag(int flag, bool option_state)
|
||||
{
|
||||
if (option_state)
|
||||
state |= flag;
|
||||
@@ -340,7 +340,7 @@ public:
|
||||
return *this;
|
||||
}
|
||||
|
||||
bool HasFlag(unsigned int flag) const
|
||||
bool HasFlag(int flag) const
|
||||
{
|
||||
return (state & flag) != 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user