Allow testing wxGenericProgressDialog in the dialogs sample too

Add the possibility to test the generic implementation of the class when
we use the native one by default, this is useful to allow comparing the
behaviour of the two classes.
This commit is contained in:
Vadim Zeitlin
2017-10-27 02:26:00 +02:00
parent 8c5dae9491
commit 3b4a71c4dc
2 changed files with 38 additions and 2 deletions

View File

@@ -452,6 +452,10 @@ public:
#if wxUSE_PROGRESSDLG
void ShowProgress(wxCommandEvent& event);
#ifdef wxHAS_NATIVE_PROGRESSDIALOG
void ShowProgressGeneric(wxCommandEvent& event);
#endif // wxHAS_NATIVE_PROGRESSDIALOG
void DoShowProgress(wxGenericProgressDialog& dialog);
#endif // wxUSE_PROGRESSDLG
void ShowAppProgress(wxCommandEvent& event);
@@ -596,6 +600,7 @@ enum
DIALOGS_ONTOP,
DIALOGS_MODELESS_BTN,
DIALOGS_PROGRESS,
DIALOGS_PROGRESS_GENERIC,
DIALOGS_APP_PROGRESS,
DIALOGS_ABOUTDLG_SIMPLE,
DIALOGS_ABOUTDLG_FANCY,