Use variable of proper type in wxPropertyGrid::SelectProperty

Variable should be declared as unsigned int because it is passed as an unsigned int parameter.
This commit is contained in:
Artur Wieczorek
2015-06-29 20:04:48 +02:00
parent 2770f76de5
commit d9acff9cd8

View File

@@ -4466,7 +4466,7 @@ bool wxPropertyGrid::SelectProperty( wxPGPropArg id, bool focus )
{
wxPG_PROP_ARG_CALL_PROLOG_RETVAL(false)
int flags = wxPG_SEL_DONT_SEND_EVENT;
unsigned int flags = wxPG_SEL_DONT_SEND_EVENT;
if ( focus )
flags |= wxPG_SEL_FOCUS;