X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1a584f14bf7c07c7f1a87ad80a5a9b710402dd27..3a3013019a93ae68757a501fd0b732290bc62ade:/contrib/samples/gizmos/splittree/tree.h diff --git a/contrib/samples/gizmos/splittree/tree.h b/contrib/samples/gizmos/splittree/tree.h index 382d580f66..fd939628fc 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,7 +79,6 @@ public: const wxSize& sz = wxDefaultSize, long style = wxTR_HAS_BUTTONS); ~TestTree(); - void OnPaint(wxPaintEvent& event); DECLARE_EVENT_TABLE() protected: wxImageList* m_imageList; @@ -87,7 +87,7 @@ protected: class TestValueWindow: public wxTreeCompanionWindow { public: - TestValueWindow(wxWindow* parent, wxWindowID id = -1, + TestValueWindow(wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& sz = wxDefaultSize, long style = 0);