define WM_CONTEXTMENU if the standard headers don't
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2243,7 +2243,6 @@ WXLRESULT wxTreeCtrl::MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lPara
|
||||
WXLRESULT rc = 0;
|
||||
bool isMultiple = HasFlag(wxTR_MULTIPLE);
|
||||
|
||||
#ifdef WM_CONTEXTMENU
|
||||
if ( nMsg == WM_CONTEXTMENU )
|
||||
{
|
||||
wxTreeEvent event( wxEVT_COMMAND_TREE_ITEM_MENU, GetId() );
|
||||
@@ -2256,7 +2255,6 @@ WXLRESULT wxTreeCtrl::MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lPara
|
||||
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
|
||||
|
Reference in New Issue
Block a user