28#include <wx/richmsgdlg.h>
31#if defined( _WIN32 ) && wxCHECK_VERSION( 3, 3, 0 )
32#define KIDIALOG_BASE wxGenericRichMessageDialog
34#define KIDIALOG_BASE wxRichMessageDialog
49 KIDIALOG( wxWindow* aParent,
const wxString& aMessage,
const wxString& aCaption,
long aStyle = wxOK );
50 KIDIALOG( wxWindow* aParent,
const wxString& aMessage, KD_TYPE aType,
const wxString& aCaption =
"" );
55 return KIDIALOG_BASE::SetOKCancelLabels( ok,
cancel );
59 void DoNotShowCheckbox( wxString file,
int line );
62 bool DoNotShowAgain()
const;
64 bool Show(
bool aShow =
true )
override;
65 int ShowModal()
override;
69 static wxString getCaption( KD_TYPE aType,
const wxString& aCaption );
70 static long getStyle( KD_TYPE aType );
Helper class to create more flexible dialogs, including 'do not show again' checkbox handling.
KIDIALOG(wxWindow *aParent, const wxString &aMessage, const wxString &aCaption, long aStyle=wxOK)
bool SetOKCancelLabels(const ButtonLabel &ok, const ButtonLabel &cancel) override
static void ClearDoNotShowAgainDialogs()
Dialog type. Selects appropriate icon and default dialog title.