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.
|
||||
// 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,
|
||||
unsigned int selFlags = wxPG_SEL_NOVALIDATE,
|
||||
unsigned int column = 1 );
|
||||
|
@@ -4746,7 +4746,7 @@ void wxPropertyGrid::SetFocusOnCanvas()
|
||||
|
||||
// selFlags uses same values DoSelectProperty's flags
|
||||
// Returns true if event was vetoed.
|
||||
bool wxPropertyGrid::SendEvent( int eventType, wxPGProperty* p,
|
||||
bool wxPropertyGrid::SendEvent( wxEventType eventType, wxPGProperty* p,
|
||||
wxVariant* pValue,
|
||||
unsigned int selFlags,
|
||||
unsigned int column )
|
||||
|
Reference in New Issue
Block a user