diff --git a/interface/wx/dataview.h b/interface/wx/dataview.h index ed3a535159..8c2b303bdc 100644 --- a/interface/wx/dataview.h +++ b/interface/wx/dataview.h @@ -1442,6 +1442,16 @@ public: virtual wxRect GetItemRect(const wxDataViewItem& item, const wxDataViewColumn* col = NULL) const; + /** + Returns the window corresponding to the main area of the control. + + This is the window that actually shows the control items and may be + different from wxDataViewCtrl window itself in some ports (currently + this is only the case for the generic implementation used by default + under MSW). + */ + wxWindow* GetMainWindow(); + /** Returns pointer to the data model associated with the control (if any). */