#include <ax/ax_messagebox.h>
Public Member Functions | |
| AxMessageDialog () | |
| Constructors. | |
| AxMessageDialog (wxWindow *parent, const wxString &message, const wxString &caption=_("Message"), int style=wxOK, const wxPoint &pos=wxDefaultPosition) | |
| bool | Create (wxWindow *parent, const wxString &message, const wxString &caption=_("Message"), int style=wxOK, const wxPoint &pos=wxDefaultPosition) |
| Creation. | |
| void | CreateControls () |
| Creates the controls and sizers. | |
| void | SetYesLabel (const wxString &text) |
| Set the label for the Yes button. | |
| const wxString & | GetYesLabel () const |
| void | SetNoLabel (const wxString &text) |
| Set the label for the No button. | |
| const wxString & | GetNoLabel () const |
| void | OnYesClick (wxCommandEvent &event) |
| wxEVT_COMMAND_BUTTON_CLICKED event handler for wxID_YES | |
| void | OnYestoallClick (wxCommandEvent &event) |
| wxEVT_COMMAND_BUTTON_CLICKED event handler for wxID_YESTOALL | |
| void | OnNoClick (wxCommandEvent &event) |
| wxEVT_COMMAND_BUTTON_CLICKED event handler for wxID_NO | |
| void | OnNotoallClick (wxCommandEvent &event) |
| wxEVT_COMMAND_BUTTON_CLICKED event handler for wxID_NOTOALL | |
| void | OnOkClick (wxCommandEvent &event) |
| wxEVT_COMMAND_BUTTON_CLICKED event handler for wxID_OK | |
| void | OnCancelClick (wxCommandEvent &event) |
| wxEVT_COMMAND_BUTTON_CLICKED event handler for wxID_CANCEL | |
| wxString | GetMessage () const |
| void | SetMessage (wxString value) |
| int | GetMessageDialogStyle () const |
| void | SetMessageDialogStyle (int value) |
| bool | GetDisplayNextTime () const |
| void | SetDisplayNextTime (bool value) |
| wxBitmap | GetBitmapResource (const wxString &name) |
| Retrieves bitmap resources. | |
| wxIcon | GetIconResource (const wxString &name) |
| Retrieves icon resources. | |
Static Public Member Functions | |
| static bool | ShowToolTips () |
| Should we show tooltips? | |
Public Attributes | |
| wxStaticBitmap * | m_staticBitmap |
| wxString | m_message |
| int | m_messageDialogStyle |
| bool | m_displayNextTime |
| wxString | m_yesLabel |
| wxString | m_noLabel |
| AxSelfVoicing | m_adapter |
| AxMessageDialog::AxMessageDialog | ( | ) |
Constructors.
| AxMessageDialog::AxMessageDialog | ( | wxWindow * | parent, | |
| const wxString & | message, | |||
| const wxString & | caption = _("Message"), |
|||
| int | style = wxOK, |
|||
| const wxPoint & | pos = wxDefaultPosition | |||
| ) |
| bool AxMessageDialog::Create | ( | wxWindow * | parent, | |
| const wxString & | message, | |||
| const wxString & | caption = _("Message"), |
|||
| int | style = wxOK, |
|||
| const wxPoint & | pos = wxDefaultPosition | |||
| ) |
Creation.
| void AxMessageDialog::CreateControls | ( | ) |
Creates the controls and sizers.
| wxBitmap AxMessageDialog::GetBitmapResource | ( | const wxString & | name | ) |
Retrieves bitmap resources.
| bool AxMessageDialog::GetDisplayNextTime | ( | ) | const [inline] |
| wxIcon AxMessageDialog::GetIconResource | ( | const wxString & | name | ) |
Retrieves icon resources.
| wxString AxMessageDialog::GetMessage | ( | ) | const [inline] |
| int AxMessageDialog::GetMessageDialogStyle | ( | ) | const [inline] |
| const wxString& AxMessageDialog::GetNoLabel | ( | ) | const [inline] |
| const wxString& AxMessageDialog::GetYesLabel | ( | ) | const [inline] |
| void AxMessageDialog::OnCancelClick | ( | wxCommandEvent & | event | ) |
wxEVT_COMMAND_BUTTON_CLICKED event handler for wxID_CANCEL
| void AxMessageDialog::OnNoClick | ( | wxCommandEvent & | event | ) |
wxEVT_COMMAND_BUTTON_CLICKED event handler for wxID_NO
| void AxMessageDialog::OnNotoallClick | ( | wxCommandEvent & | event | ) |
wxEVT_COMMAND_BUTTON_CLICKED event handler for wxID_NOTOALL
| void AxMessageDialog::OnOkClick | ( | wxCommandEvent & | event | ) |
wxEVT_COMMAND_BUTTON_CLICKED event handler for wxID_OK
| void AxMessageDialog::OnYesClick | ( | wxCommandEvent & | event | ) |
wxEVT_COMMAND_BUTTON_CLICKED event handler for wxID_YES
| void AxMessageDialog::OnYestoallClick | ( | wxCommandEvent & | event | ) |
wxEVT_COMMAND_BUTTON_CLICKED event handler for wxID_YESTOALL
| void AxMessageDialog::SetDisplayNextTime | ( | bool | value | ) | [inline] |
| void AxMessageDialog::SetMessage | ( | wxString | value | ) | [inline] |
| void AxMessageDialog::SetMessageDialogStyle | ( | int | value | ) | [inline] |
| void AxMessageDialog::SetNoLabel | ( | const wxString & | text | ) | [inline] |
Set the label for the No button.
| void AxMessageDialog::SetYesLabel | ( | const wxString & | text | ) | [inline] |
Set the label for the Yes button.
| bool AxMessageDialog::ShowToolTips | ( | ) | [static] |
Should we show tooltips?
| wxString AxMessageDialog::m_message |
| wxString AxMessageDialog::m_noLabel |
| wxString AxMessageDialog::m_yesLabel |
1.5.8