Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

TMyMultipleChoiceDialog Class Reference

A dialog for multiple choices. More...

#include <MiscDialogs.h>

List of all members.

Public Member Functions

 TMyMultipleChoiceDialog ()
 Default constructor.
 TMyMultipleChoiceDialog (wxWindow *parent, const wxString &message, const wxString &caption, int n, const wxString choices[]=NULL, int options=wxOK|wxCANCEL|wxCENTRE, const wxPoint &pos=wxDefaultPosition)
virtual ~TMyMultipleChoiceDialog ()
virtual void Check (int item, bool check=TRUE)
 Check an item.
virtual void CheckAll (bool check=TRUE)
 Uncheck all items.
virtual bool IsChecked (int item) const
 Is an item checked?
virtual void OnOK (wxCommandEvent &ev)
 OK button event handler.

Private Attributes

wxCheckListBox * clb
 The checklist-box.
vector< bool > check

Detailed Description

A dialog for multiple choices.

Constructor & Destructor Documentation

TMyMultipleChoiceDialog::TMyMultipleChoiceDialog  ) 

Default constructor.

TMyMultipleChoiceDialog::TMyMultipleChoiceDialog wxWindow *  parent,
const wxString &  message,
const wxString &  caption,
int  n,
const wxString  choices[] = NULL,
int  options = wxOK|wxCANCEL|wxCENTRE,
const wxPoint &  pos = wxDefaultPosition


TMyMultipleChoiceDialog::~TMyMultipleChoiceDialog  )  [virtual]


Member Function Documentation

void TMyMultipleChoiceDialog::Check int  item,
bool  check = TRUE

Check an item.

void TMyMultipleChoiceDialog::CheckAll bool  check = TRUE  )  [virtual]

Uncheck all items.

bool TMyMultipleChoiceDialog::IsChecked int  item  )  const [virtual]

Is an item checked?

void TMyMultipleChoiceDialog::OnOK wxCommandEvent &  ev  )  [virtual]

OK button event handler.

Member Data Documentation

vector<bool> TMyMultipleChoiceDialog::check [private]

wxCheckListBox* TMyMultipleChoiceDialog::clb [private]

The checklist-box.

The documentation for this class was generated from the following files:
Generated on Fri Aug 11 16:19:48 2006 for GENtle by  doxygen 1.4.1