X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/58580a7e3cf744de919827f827f14e595f8231af..e9799102dd784618687cd808e50dcc2620ad212b:/contrib/samples/gizmos/splittree/tree.h diff --git a/contrib/samples/gizmos/splittree/tree.h b/contrib/samples/gizmos/splittree/tree.h index 95f9fbbff0..382d580f66 100644 --- a/contrib/samples/gizmos/splittree/tree.h +++ b/contrib/samples/gizmos/splittree/tree.h @@ -77,12 +77,14 @@ public: TestTree(wxWindow* parent, wxWindowID id, const wxPoint& pt = wxDefaultPosition, const wxSize& sz = wxDefaultSize, long style = wxTR_HAS_BUTTONS); ~TestTree(); + + void OnPaint(wxPaintEvent& event); DECLARE_EVENT_TABLE() protected: wxImageList* m_imageList; }; -class TestValueWindow: public wxWindow +class TestValueWindow: public wxTreeCompanionWindow { public: TestValueWindow(wxWindow* parent, wxWindowID id = -1, @@ -93,7 +95,6 @@ public: //// Overrides //// Events - void OnSize(wxSizeEvent& event); //// Data members protected: