#include <tooldlg.h>
Public Member Functions | |
| ToolDlg (wxFrame *parent) | |
| Constructor. | |
| ~ToolDlg () | |
| Destructor. | |
| virtual void | Populate () |
| void | AddCmdMenu (wxBitmap &bitmap, const a2dMenuIdItem &cmdId) |
| add a command menu to the parent menu, and connect it to the eventhandler of the dialog | |
| void | RemoveCmdMenu (const a2dMenuIdItem &cmdId) |
| remove a command menu from the parent menu. | |
Protected Member Functions | |
| void | OnCmdMenuId (wxCommandEvent &event) |
| void | OnCloseWindow (wxCloseEvent &event) |
Protected Attributes | |
| wxPanel * | m_panel |
| int | m_chosen |
| wxGridSizer * | m_sizer |
Definition at line 35 of file tooldlg.h.
| void ToolDlg::AddCmdMenu | ( | wxBitmap & | bitmap, | |
| const a2dMenuIdItem & | cmdId | |||
| ) |
add a command menu to the parent menu, and connect it to the eventhandler of the dialog
See also a2dDocumentFrameAddCmdMenu()
Definition at line 188 of file tooldlg.cpp.
| void ToolDlg::RemoveCmdMenu | ( | const a2dMenuIdItem & | cmdId | ) |
remove a command menu from the parent menu.
See AddCmdMenu()
todo
Definition at line 182 of file tooldlg.cpp.
| void ToolDlg::OnCmdMenuId | ( | wxCommandEvent & | event | ) | [protected] |
used by AddCmdMenu() to dynamically connect menu to function. The function just Skippes the event, so it will be handled by a command processor in the end.
Definition at line 196 of file tooldlg.cpp.