X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e306597309a120f2ae91385c731a5cb2722c52aa..bbfa03228a5fc1f23565cf59ee29629bc4336d65:/include/wx/propform.h?ds=sidebyside diff --git a/include/wx/propform.h b/include/wx/propform.h index 4acff593bb..42ae9e863d 100644 --- a/include/wx/propform.h +++ b/include/wx/propform.h @@ -64,9 +64,13 @@ class WXDLLEXPORT wxPropertyFormView: public wxPropertyView virtual bool OnClose(); virtual void OnDoubleClick(wxControl *item); - // TODO: does OnCommand still get called...??? + // TODO: does OnCommand still get called...??? No, + // make ProcessEvent do it. virtual void OnCommand(wxWindow& win, wxCommandEvent& event); + // Extend event processing to process OnCommand + virtual bool ProcessEvent(wxEvent& event); + inline virtual void AssociatePanel(wxWindow *win) { m_propertyWindow = win; } inline virtual wxWindow *GetPanel(void) const { return m_propertyWindow; }