X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1ed01484e7bcce3d1668b5b76c8bb1beb32e9559..fda5e7a16ef41d1c4672e9e8d4451f680aee44f6:/contrib/samples/gizmos/splittree/tree.h diff --git a/contrib/samples/gizmos/splittree/tree.h b/contrib/samples/gizmos/splittree/tree.h index 07355ad0e9..ab02e6dd2f 100644 --- a/contrib/samples/gizmos/splittree/tree.h +++ b/contrib/samples/gizmos/splittree/tree.h @@ -45,10 +45,11 @@ protected: wxRemotelyScrolledTreeCtrl* m_tree; wxThinSplitterWindow* m_splitter; wxSplitterScrolledWindow* m_scrolledWindow; + //wxScrolledWindow* m_scrolledWindow; TestValueWindow* m_valueWindow; private: - // any class wishing to process wxWindows events must use this macro + // any class wishing to process wxWidgets events must use this macro DECLARE_EVENT_TABLE() }; @@ -78,13 +79,12 @@ public: 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, @@ -95,7 +95,6 @@ public: //// Overrides //// Events - void OnSize(wxSizeEvent& event); //// Data members protected: