Use wxWindow as a control for wxGridCellEditor
Use wxWindow instead of wxControl in wxGridCellEditor to allow using any window as an editor control, as it doesn't need to be a wxControl. Closes https://github.com/wxWidgets/wxWidgets/pull/1370
This commit is contained in:
committed by
Vadim Zeitlin
parent
ea68934b8e
commit
feacaf8714
@@ -9333,13 +9333,13 @@ wxIMPLEMENT_DYNAMIC_CLASS(wxGridEditorCreatedEvent, wxCommandEvent);
|
||||
|
||||
wxGridEditorCreatedEvent::wxGridEditorCreatedEvent(int id, wxEventType type,
|
||||
wxObject* obj, int row,
|
||||
int col, wxControl* ctrl)
|
||||
int col, wxWindow* window)
|
||||
: wxCommandEvent(type, id)
|
||||
{
|
||||
SetEventObject(obj);
|
||||
m_row = row;
|
||||
m_col = col;
|
||||
m_ctrl = ctrl;
|
||||
m_window = window;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user