Changed argument of wxPropertyGrid::OnCustomEditorEvent() from wxCommandEvent to wxEvent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1215,9 +1215,21 @@ public:
|
||||
// Mostly useful for page switching.
|
||||
void SwitchState( wxPropertyGridPageState* pNewState );
|
||||
|
||||
/** Pass this function to Connect calls in propertyclass::CreateEditor.
|
||||
/**
|
||||
When creating custom property editors, connect required editor events to
|
||||
this function. For instance:
|
||||
|
||||
@code
|
||||
control->Connect(control->GetId(), wxEVT_COMMAND_TEXT_UPDATED,
|
||||
wxEventHandler(wxPropertyGrid::OnCustomEditorEvent),
|
||||
NULL, propgrid);
|
||||
@endcode
|
||||
|
||||
@remarks You should never need to call this function directly!
|
||||
|
||||
@see wxPGEditor::CreateControls(), wxEvtHandler::Connect()
|
||||
*/
|
||||
void OnCustomEditorEvent( wxCommandEvent &event );
|
||||
void OnCustomEditorEvent( wxEvent &event );
|
||||
|
||||
long GetInternalFlags() const { return m_iFlags; }
|
||||
bool HasInternalFlag( long flag ) const
|
||||
|
Reference in New Issue
Block a user