Remove calls to wxApp::SetTopWindow() from the samples and documentation.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 2 Jan 2011 22:05:14 +0000 (22:05 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 2 Jan 2011 22:05:14 +0000 (22:05 +0000)
commit18f42b94df62068a19258b96ac7f569d4d3ba400
tree61bdc4073683c3a59344aeda5233de3b54e4e25f
parent30d6c59b297f98ebda1d6c14e56f289bd3b02799
Remove calls to wxApp::SetTopWindow() from the samples and documentation.

It is definitely not necessary to call SetTopWindow() when there is only a
single top level window and it is arguable whether it's useful to do it even
when there are many of them so don't encourage its use in the documentation
and also remove all its occurrences from the samples.

Closes #12816.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
41 files changed:
demos/life/life.cpp
docs/doxygen/overviews/app.h
docs/doxygen/overviews/helloworld.h
docs/doxygen/overviews/python.h
samples/animate/anitest.cpp
samples/aui/auidemo.cpp
samples/config/conftest.cpp
samples/dataview/dataview.cpp
samples/dialup/nettest.cpp
samples/docview/docview.cpp
samples/drawing/drawing.cpp
samples/exec/exec.cpp
samples/font/font.cpp
samples/help/demo.cpp
samples/html/help/help.cpp
samples/html/printing/printing.cpp
samples/html/virtual/virtual.cpp
samples/html/widget/widget.cpp
samples/html/zip/zip.cpp
samples/internat/internat.cpp
samples/joytest/joytest.cpp
samples/listctrl/listtest.cpp
samples/menu/menu.cpp
samples/nativdlg/nativdlg.cpp
samples/notebook/notebook.cpp
samples/oleauto/oleauto.cpp
samples/opengl/isosurf/isosurf.cpp
samples/ownerdrw/ownerdrw.cpp
samples/printing/printing.cpp
samples/regtest/regtest.cpp
samples/ribbon/ribbondemo.cpp
samples/sashtest/sashtest.cpp
samples/sockets/client.cpp
samples/sockets/server.cpp
samples/stc/stctest.cpp
samples/svg/svgtest.cpp
samples/text/text.cpp
samples/toolbar/toolbar.cpp
samples/treectrl/treetest.cpp
samples/typetest/typetest.cpp
samples/validate/validate.cpp