X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ce7fe42e848cc0c9058dae906c3a7bded50681e6..fa699cbaaf217af186cd04dd10d6ec67c8667136:/samples/preferences/preferences.cpp diff --git a/samples/preferences/preferences.cpp b/samples/preferences/preferences.cpp index f1ab3b6152..990fb0d437 100644 --- a/samples/preferences/preferences.cpp +++ b/samples/preferences/preferences.cpp @@ -224,6 +224,11 @@ bool MyApp::OnInit() if ( !wxApp::OnInit() ) return false; + // This will be used in the title of the preferences dialog under some + // platforms, don't leave it as default "Preferences" because this would + // result in rather strange "Preferences Preferences" title. + SetAppDisplayName("wxWidgets Sample"); + MyFrame *frame = new MyFrame(); frame->Show(true);