X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ce7fe42e848cc0c9058dae906c3a7bded50681e6..8abbca789f34f98efa79944b1c4f6423dade2c80:/samples/preferences/preferences.cpp?ds=inline diff --git a/samples/preferences/preferences.cpp b/samples/preferences/preferences.cpp index f1ab3b6152..979cfe98ec 100644 --- a/samples/preferences/preferences.cpp +++ b/samples/preferences/preferences.cpp @@ -3,7 +3,6 @@ // Purpose: Sample demonstrating wxPreferencesEditor use. // Author: Vaclav Slavik // Created: 2013-02-19 -// RCS-ID: $Id$ // Copyright: (c) 2013 Vaclav Slavik // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// @@ -224,6 +223,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);