wxWidgets/samples/docview
Vadim Zeitlin c346d3d299 Avoid crash on startup when using single mode in docview sample.
The view doesn't have any associated frame when using the special "single
view" mode in the sample, so don't try to show it when creating a new view.

This resulted in a crash when starting the sample with --single command line
parameter.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-22 22:57:59 +00:00
..
chart.icns custom info.plist with supported document types 2008-08-05 11:55:21 +00:00
chart.ico
chart.r
chart.xpm add const attribute to avoid lots of warnings from GCC 2009-01-09 15:48:13 +00:00
descrip.mms
doc.cpp Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
doc.h No changes whatsoever, just remove trailing whitespace. 2010-09-30 11:44:45 +00:00
doc.icns custom info.plist with supported document types 2008-08-05 11:55:21 +00:00
doc.ico
doc.r
doc.xpm add const attribute to avoid lots of warnings from GCC 2009-01-09 15:48:13 +00:00
docview_vc7.vcproj Rebake everything using bakefile 0.2.9. 2011-02-03 15:02:45 +00:00
docview_vc8.vcproj Rebake everything using bakefile 0.2.9. 2011-02-03 15:02:45 +00:00
docview_vc9.vcproj Rebake everything using bakefile 0.2.9. 2011-02-03 15:02:45 +00:00
docview.bkl add headers to the samples' bakefiles so that they show up in MSVC project files 2009-03-04 11:47:32 +00:00
docview.cpp Remove calls to wxApp::SetTopWindow() from the samples and documentation. 2011-01-02 22:05:14 +00:00
docview.dsp Rebake from clean wx tree. 2010-01-04 00:45:45 +00:00
docview.h No changes, just simplify docview sample a bit. 2010-11-10 00:36:39 +00:00
docview.r
docview.rc Remove unnecessary mondrian.{ico,xpm} files from samples directory. 2010-06-20 17:42:33 +00:00
docviewM7.mcp
Info.plist Remove executable bits from plist files. 2010-07-22 12:09:10 +00:00
Info.plist.in adding generic BUNDLE_RESOURCES for copying any special resources into the bundle, renaming BUNDLE_ICONS to BUNDLE_ICON = the path of the app icon 2008-08-13 15:20:57 +00:00
makefile.bcc Rebake everything using bakefile 0.2.9. 2011-02-03 15:02:45 +00:00
makefile.gcc Rebake everything using bakefile 0.2.9. 2011-02-03 15:02:45 +00:00
Makefile.in Rebake everything using bakefile 0.2.9. 2011-02-03 15:02:45 +00:00
makefile.unx Rebake everything using bakefile 0.2.9. 2011-02-03 15:02:45 +00:00
makefile.vc Rebake everything using bakefile 0.2.9. 2011-02-03 15:02:45 +00:00
makefile.vms
makefile.wat Rebake everything using bakefile 0.2.9. 2011-02-03 15:02:45 +00:00
notepad.icns custom info.plist with supported document types 2008-08-05 11:55:21 +00:00
notepad.ico
notepad.xpm add const attribute to avoid lots of warnings from GCC 2009-01-09 15:48:13 +00:00
view.cpp Avoid crash on startup when using single mode in docview sample. 2011-06-22 22:57:59 +00:00
view.h No changes, just simplify docview sample a bit. 2010-11-10 00:36:39 +00:00