// Purpose: Sample demonstrating wxPreferencesEditor use.
// Author: Vaclav Slavik
// Created: 2013-02-19
-// RCS-ID: $Id$
// Copyright: (c) 2013 Vaclav Slavik <vslavik@fastmail.fm>
// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
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);