]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/samples/gizmos/splittree/tree.h
Fix so the value given to wxTextEntryDialog::SetValue will actually be
[wxWidgets.git] / contrib / samples / gizmos / splittree / tree.h
index 95f9fbbff015aeb29730b7079b61ef1c71e7994c..c799a1309a364efc02058a05f25a539cc868758c 100644 (file)
@@ -45,6 +45,7 @@ protected:
     wxRemotelyScrolledTreeCtrl*        m_tree;
     wxThinSplitterWindow*   m_splitter;
        wxSplitterScrolledWindow* m_scrolledWindow;
+       //wxScrolledWindow* m_scrolledWindow;
     TestValueWindow*           m_valueWindow;
 
 private:
@@ -77,12 +78,13 @@ public:
     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,
@@ -93,7 +95,6 @@ public:
 //// Overrides
 
 //// Events
-       void OnSize(wxSizeEvent& event);
     
 //// Data members
 protected: