]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/samples/gizmos/splittree/tree.h
Only call GetBestSize if one or both of the minsize components are unset.
[wxWidgets.git] / contrib / samples / gizmos / splittree / tree.h
index 382d580f66171ea90901c1fcccc8eb5217a5fe2a..ab02e6dd2fa51c0b2d19b070a4c8991d45029303 100644 (file)
@@ -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;