X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ae8c4b33a3272fba39c405542141e7c486b75136..8482e4bdb9928fe9982ac214aee345b19894b39b:/src/common/treebase.cpp diff --git a/src/common/treebase.cpp b/src/common/treebase.cpp index 73bd16e5fb..a3fff66b2d 100644 --- a/src/common/treebase.cpp +++ b/src/common/treebase.cpp @@ -17,7 +17,7 @@ // headers // ----------------------------------------------------------------------------- -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "treebase.h" #endif @@ -62,6 +62,7 @@ DEFINE_EVENT_TYPE(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK) DEFINE_EVENT_TYPE(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK) DEFINE_EVENT_TYPE(wxEVT_COMMAND_TREE_END_DRAG) DEFINE_EVENT_TYPE(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK) +DEFINE_EVENT_TYPE(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP) // ---------------------------------------------------------------------------- // Tree event @@ -74,7 +75,7 @@ wxTreeEvent::wxTreeEvent(wxEventType commandType, int id) : wxNotifyEvent(commandType, id) { m_itemOld = 0l; - m_editCancelled = FALSE; + m_editCancelled = false; } #endif // wxUSE_TREECTRL