git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33381
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#define VK_OEM_PERIOD 0xBE
#endif
+#ifndef WM_CONTEXTMENU
+ #define WM_CONTEXTMENU 0x007B
+#endif
+
#ifndef WM_UPDATEUISTATE
- #define WM_UPDATEUISTATE 0x128
+ #define WM_UPDATEUISTATE 0x0128
#endif
#ifndef UIS_INITIALIZE
WXLRESULT rc = 0;
bool isMultiple = HasFlag(wxTR_MULTIPLE);
-#ifdef WM_CONTEXTMENU
if ( nMsg == WM_CONTEXTMENU )
{
wxTreeEvent event( wxEVT_COMMAND_TREE_ITEM_MENU, GetId() );
processed = true;
//else: continue with generating wxEVT_CONTEXT_MENU in base class code
}
-#endif // WM_CONTEXTMENU
else if ( (nMsg >= WM_MOUSEFIRST) && (nMsg <= WM_MOUSELAST) )
{
// we only process mouse messages here and these parameters have the