]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/treebase.h
Bring back help turned off as in previous WinCE setup.h. Perhaps it should be !__SMAR...
[wxWidgets.git] / include / wx / treebase.h
index 065432bc694ab21a5f59a8867418ea2163816d85..51c4249027979916bc2bd6a5ab18ceda3b42064b 100644 (file)
@@ -284,7 +284,7 @@ public:
         // Set the tooltip for the item (for EVT\_TREE\_ITEM\_GETTOOLTIP events)
     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);
@@ -336,7 +336,7 @@ BEGIN_DECLARE_EVENT_TYPES()
 END_DECLARE_EVENT_TYPES()
 
 #define wxTreeEventHandler(func) \
-    (wxObjectEventFunction)wxStaticCastEvent(wxTreeEventFunction, &func)
+    (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxTreeEventFunction, &func)
 
 #define wx__DECLARE_TREEEVT(evt, id, fn) \
     wx__DECLARE_EVT1(wxEVT_COMMAND_TREE_ ## evt, id, wxTreeEventHandler(fn))