Use wxEventType instead of int
This parameter identifies the type of the event so it should be of type wxEventType.
This commit is contained in:
@@ -1926,7 +1926,7 @@ protected:
|
|||||||
|
|
||||||
// Send event from the property grid.
|
// Send event from the property grid.
|
||||||
// Omit the wxPG_SEL_NOVALIDATE flag to allow vetoing the event
|
// Omit the wxPG_SEL_NOVALIDATE flag to allow vetoing the event
|
||||||
bool SendEvent( int eventType, wxPGProperty* p,
|
bool SendEvent( wxEventType eventType, wxPGProperty* p,
|
||||||
wxVariant* pValue = NULL,
|
wxVariant* pValue = NULL,
|
||||||
unsigned int selFlags = wxPG_SEL_NOVALIDATE,
|
unsigned int selFlags = wxPG_SEL_NOVALIDATE,
|
||||||
unsigned int column = 1 );
|
unsigned int column = 1 );
|
||||||
|
@@ -4746,7 +4746,7 @@ void wxPropertyGrid::SetFocusOnCanvas()
|
|||||||
|
|
||||||
// selFlags uses same values DoSelectProperty's flags
|
// selFlags uses same values DoSelectProperty's flags
|
||||||
// Returns true if event was vetoed.
|
// Returns true if event was vetoed.
|
||||||
bool wxPropertyGrid::SendEvent( int eventType, wxPGProperty* p,
|
bool wxPropertyGrid::SendEvent( wxEventType eventType, wxPGProperty* p,
|
||||||
wxVariant* pValue,
|
wxVariant* pValue,
|
||||||
unsigned int selFlags,
|
unsigned int selFlags,
|
||||||
unsigned int column )
|
unsigned int column )
|
||||||
|
Reference in New Issue
Block a user