Audacity 3.2.0
|
Gives a warning message, that can be dismissed, with crucially the ability to not see similar warnings again for this session. More...
Public Member Functions | |
WarningDialog (wxWindow *parent, const TranslatableString &message, const TranslatableString &footer, bool showCancelButton) | |
Public Member Functions inherited from wxDialogWrapper | |
wxDialogWrapper () | |
wxDialogWrapper (wxWindow *parent, wxWindowID id, const TranslatableString &title, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE, const TranslatableString &name=XO("Dialog")) | |
bool | Create (wxWindow *parent, wxWindowID id, const TranslatableString &title, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE, const TranslatableString &name=XO("Dialog")) |
void | SetTitle (const TranslatableString &title) |
void | SetLabel (const TranslatableString &title) |
void | SetName (const TranslatableString &title) |
void | SetName () |
Public Member Functions inherited from wxTabTraversalWrapper< wxDialog > | |
wxTabTraversalWrapper (Args &&... args) | |
wxTabTraversalWrapper (const wxTabTraversalWrapper &)=delete | |
wxTabTraversalWrapper (wxTabTraversalWrapper &&)=delete | |
wxTabTraversalWrapper & | operator= (const wxTabTraversalWrapper &)=delete |
wxTabTraversalWrapper & | operator= (wxTabTraversalWrapper &&)=delete |
Private Member Functions | |
void | OnOK (wxCommandEvent &event) |
Private Attributes | |
wxCheckBox * | mCheckBox |
Gives a warning message, that can be dismissed, with crucially the ability to not see similar warnings again for this session.
Definition at line 30 of file Warning.cpp.
WarningDialog::WarningDialog | ( | wxWindow * | parent, |
const TranslatableString & | message, | ||
const TranslatableString & | footer, | ||
bool | showCancelButton | ||
) |
Definition at line 57 of file Warning.cpp.
References eCancelButton, eIsCreating, eOkButton, mCheckBox, S, and wxDialogWrapper::SetName().
|
private |
Definition at line 85 of file Warning.cpp.
References mCheckBox.
|
private |
Definition at line 42 of file Warning.cpp.
Referenced by OnOK(), and WarningDialog().