X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/27f8357f3ceb709c4ea8653818e4f1a79f8f59fe..1c3693e8f58dc583c48f3654559a4309e9f260c6:/include/wx/generic/treectlg.h diff --git a/include/wx/generic/treectlg.h b/include/wx/generic/treectlg.h index ccaa5fbdb0..0a1e8fee16 100644 --- a/include/wx/generic/treectlg.h +++ b/include/wx/generic/treectlg.h @@ -208,6 +208,7 @@ public: virtual void Freeze(); virtual void Thaw(); + virtual void Refresh(bool eraseBackground = true, const wxRect *rect = NULL); virtual bool SetFont( const wxFont &font ); virtual void SetWindowStyle(const long styles); @@ -219,6 +220,7 @@ public: void OnChar( wxKeyEvent &event ); void OnMouse( wxMouseEvent &event ); void OnGetToolTip( wxTreeEvent &event ); + void OnSize( wxSizeEvent &event ); void OnInternalIdle( ); virtual wxVisualAttributes GetDefaultAttributes() const @@ -343,6 +345,8 @@ protected: void DoDirtyProcessing(); + virtual wxSize DoGetBestSize() const; + private: DECLARE_EVENT_TABLE() DECLARE_DYNAMIC_CLASS(wxGenericTreeCtrl)