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:
@@ -4466,7 +4466,7 @@ bool wxPropertyGrid::SelectProperty( wxPGPropArg id, bool focus )
|
|||||||
{
|
{
|
||||||
wxPG_PROP_ARG_CALL_PROLOG_RETVAL(false)
|
wxPG_PROP_ARG_CALL_PROLOG_RETVAL(false)
|
||||||
|
|
||||||
int flags = wxPG_SEL_DONT_SEND_EVENT;
|
unsigned int flags = wxPG_SEL_DONT_SEND_EVENT;
|
||||||
if ( focus )
|
if ( focus )
|
||||||
flags |= wxPG_SEL_FOCUS;
|
flags |= wxPG_SEL_FOCUS;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user