ToolMap
Loading...
Searching...
No Matches
ListGenMenu Class Reference

contextual menu for ListGenReport More...

#include <listgenreport.h>

Inheritance diagram for ListGenMenu:

Public Member Functions

 ListGenMenu (const wxString &title, long style=0)
 
void DisableMenuMove (int flags)
 
wxMenu * GetTheMenu ()
 

Protected Member Functions

void MenuInit ()
 
virtual wxMenu * CreateContextMenu ()
 

Protected Attributes

wxMenu * m_ContextMenu
 

Detailed Description

contextual menu for ListGenReport

This class manage the popup menu for ListGenReport, the default menu allows to move item in the list. For an other menu derive this class and implement the virtual function CreateContextMenu(). Then to get a pointer to the generated menu call the GetTheMenu() function. All events (except the defauts move item) must be implemented in the parent ListGenReport.

Author
Lucien Schreiber (c) CREALP 2007
Date
23 November 2007

The documentation for this class was generated from the following files: