]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/preferences/preferences.cpp
Make it possible to use svn-find-native-eols script without svn checkout.
[wxWidgets.git] / samples / preferences / preferences.cpp
index f1ab3b6152d7b530946fbb09aff7fa855b92093e..990fb0d43746354b0323d4589d3298ea2389ccf3 100644 (file)
@@ -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);