git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32629
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
WXLRESULT rc = 0;
bool isMultiple = (GetWindowStyle() & wxTR_MULTIPLE) != 0;
WXLRESULT rc = 0;
bool isMultiple = (GetWindowStyle() & wxTR_MULTIPLE) != 0;
-#if (!defined(_WIN32_WCE)) || (defined(_WIN32_WCE) && (_WIN32_WCE >= 400))
- if (nMsg == WM_CONTEXTMENU)
+#ifdef WM_CONTEXTMENU
+ if ( nMsg == WM_CONTEXTMENU )
{
wxTreeEvent event( wxEVT_COMMAND_TREE_ITEM_MENU, GetId() );
event.m_item = GetSelection();
{
wxTreeEvent event( wxEVT_COMMAND_TREE_ITEM_MENU, GetId() );
event.m_item = GetSelection();