]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/listctrl.cpp
added wxRegConfig read test
[wxWidgets.git] / src / msw / listctrl.cpp
index c6b15c64beb960da06f8280ca1ff99341df9a84f..f548be6ac334e0b2044ff8dc04f4abc3be44f9c8 100644 (file)
 
 #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