X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a2d49353d4ac77775d5c513e55940175458faa1c..dba0885d8c52d3a9a3e3f3887b525db57ba759f7:/contrib/samples/gizmos/splittree/tree.h?ds=sidebyside diff --git a/contrib/samples/gizmos/splittree/tree.h b/contrib/samples/gizmos/splittree/tree.h index fd939628fc..4562d8810d 100644 --- a/contrib/samples/gizmos/splittree/tree.h +++ b/contrib/samples/gizmos/splittree/tree.h @@ -12,6 +12,10 @@ #ifndef _TREE_H_ #define _TREE_H_ +#ifdef __GNUG__ + #pragma interface "tree.h" +#endif + #include "wx/wx.h" #include "wx/gizmos/splittree.h" @@ -44,9 +48,9 @@ public: protected: wxRemotelyScrolledTreeCtrl* m_tree; wxThinSplitterWindow* m_splitter; - wxSplitterScrolledWindow* m_scrolledWindow; - //wxScrolledWindow* m_scrolledWindow; - TestValueWindow* m_valueWindow; + wxSplitterScrolledWindow* m_scrolledWindow; + //wxScrolledWindow* m_scrolledWindow; + TestValueWindow* m_valueWindow; private: // any class wishing to process wxWidgets events must use this macro @@ -67,21 +71,21 @@ enum #define idTREE_CTRL 2000 #define idSPLITTER_WINDOW 2001 -#define idVALUE_WINDOW 2002 -#define idMAIN_FRAME 2003 +#define idVALUE_WINDOW 2002 +#define idMAIN_FRAME 2003 #define idSCROLLED_WINDOW 2004 class TestTree: public wxRemotelyScrolledTreeCtrl { - DECLARE_CLASS(TestTree) + DECLARE_CLASS(TestTree) public: TestTree(wxWindow* parent, wxWindowID id, const wxPoint& pt = wxDefaultPosition, const wxSize& sz = wxDefaultSize, long style = wxTR_HAS_BUTTONS); - ~TestTree(); + ~TestTree(); DECLARE_EVENT_TABLE() protected: - wxImageList* m_imageList; + wxImageList* m_imageList; }; class TestValueWindow: public wxTreeCompanionWindow @@ -95,7 +99,7 @@ public: //// Overrides //// Events - + //// Data members protected: