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()
};
TestTree(wxWindow* parent, wxWindowID id, const wxPoint& pt = wxDefaultPosition,
const wxSize& sz = wxDefaultSize, long style = wxTR_HAS_BUTTONS);
~TestTree();
+
DECLARE_EVENT_TABLE()
protected:
wxImageList* m_imageList;
};
-class TestValueWindow: public wxWindow
+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);
//// Overrides
//// Events
- void OnSize(wxSizeEvent& event);
//// Data members
protected: