WinCE patches from "Viktor Voroshylo" <viktor@voroshylo.com>

1) to take care of ShowFullScreen.
2) will make WinCE context menu in listctrl to generate the same event as right click. WinCE does not have right click so I think it is reasonable solution for it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2003-11-28 09:19:18 +00:00
parent 44d0c580e6
commit 80a81a12af
2 changed files with 31 additions and 2 deletions

View File

@@ -45,6 +45,12 @@
#include "wx/msw/private.h"
#if defined(__WXWINCE__)
#include <ole2.h>
#include <shellapi.h>
#include <aygshell.h>
#endif
// include <commctrl.h> "properly"
#include "wx/msw/wrapcctl.h"
@@ -1802,6 +1808,9 @@ bool wxListCtrl::MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result)
event.m_col = nmHDR->iItem;
break;
#ifdef __WXWINCE__
case GN_CONTEXTMENU:
#endif __WXWINCE__
case NM_RCLICK:
{
eventType = wxEVT_COMMAND_LIST_COL_RIGHT_CLICK;
@@ -2128,6 +2137,9 @@ bool wxListCtrl::MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result)
event.m_item.m_data = GetItemData(iItem);
break;
#ifdef __WXWINCE__
case GN_CONTEXTMENU:
#endif __WXWINCE__
case NM_RCLICK:
// if the user processes it in wxEVT_COMMAND_RIGHT_CLICK(),
// don't do anything else