]> git.saurik.com Git - wxWidgets.git/commit
Save and restore file history in docview sample.
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 22 Jul 2011 16:16:03 +0000 (16:16 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 22 Jul 2011 16:16:03 +0000 (16:16 +0000)
commita6b7e90b5d31baa6cd04e0f65ccba4901368e021
tree59c507851af2aaa33b0fe14d8993b7cd0a29721b
parent90693f47f2893f681b0548fce4f4bdac0f1c6a81
Save and restore file history in docview sample.

Show how the file history can be saved to and restored from wxConfig.

This makes it much easier to test file history related stuff as the history
doesn't need to be recreated during every sample run.

It is also closer to what real applications using docview framework do as the
file history is relatively useless if it's not saved.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
samples/docview/docview.cpp