X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/107ff6689aefa5022ad0ea864ef54e7aaf933c1a..258b2ca6819988c73a953bb8c2760b91c78d520c:/samples/listctrl/listtest.h diff --git a/samples/listctrl/listtest.h b/samples/listctrl/listtest.h index adbc329c22..600eaf4b1a 100644 --- a/samples/listctrl/listtest.h +++ b/samples/listctrl/listtest.h @@ -71,11 +71,16 @@ public: void OnCacheHint(wxListEvent& event); void OnChar(wxKeyEvent& event); + #if USE_CONTEXT_MENU void OnContextMenu(wxContextMenuEvent& event); #endif + void OnRightClick(wxMouseEvent& event); + private: + void ShowContextMenu(const wxPoint& pos); + wxLog *m_logOld; void SetColumnImage(int col, int image); void LogEvent(const wxListEvent& event, const wxChar *eventName); @@ -201,4 +206,3 @@ enum LIST_CTRL = 1000 }; -