]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/treebase.h
On screens with restricted space, it's useful to be able to add controls
[wxWidgets.git] / include / wx / treebase.h
index 884cd3be014bdd46472a7fc9bcbefd046f7693c7..445b4c28bc3e01a18cbdaac55eb7addc45959c15 100644 (file)
@@ -216,7 +216,7 @@ static const int wxTREE_HITTEST_ONITEM  = wxTREE_HITTEST_ONITEMICON |
                                           wxTREE_HITTEST_ONITEMLABEL;
 
 // tree ctrl default name
-extern WXDLLEXPORT_DATA(const wxChar*) wxTreeCtrlNameStr;
+extern WXDLLEXPORT_DATA(const wxChar) wxTreeCtrlNameStr[];
 
 // ----------------------------------------------------------------------------
 // wxTreeItemAttr: a structure containing the visual attributes of an item
@@ -300,11 +300,6 @@ public:
     void SetToolTip(const wxString& toolTip) { m_label = toolTip; }
     wxString GetToolTip() { return m_label; }
 
-#if WXWIN_COMPATIBILITY_2_2
-    // for compatibility only, don't use
-    wxDEPRECATED( int GetCode() const);
-#endif // WXWIN_COMPATIBILITY_2_2
-
 private:
     // not all of the members are used (or initialized) for all events
     wxKeyEvent    m_evtKey;