Restore wxPreviewFrame::Initialize(void) and add InitializeWithModality().
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 22 Jun 2011 22:58:07 +0000 (22:58 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 22 Jun 2011 22:58:07 +0000 (22:58 +0000)
commit1e5ad6e1d1f0f8f4a8e5913d1faf2b18900ed049
tree43b318148b73db661ec7ac9ff58c1c2000f6c722
parentadfbce4fecf4d0de46fa241f8af27fd18d2f9de9
Restore wxPreviewFrame::Initialize(void) and add InitializeWithModality().

The changes of r67619 changed the signature of the virtual Initialize() method
and in doing so broke the existing code overriding it. Avoid this problem by
restoring the old method signature and adding a function with a different name
providing the new functionality.

Also notice in the documentation that there is no real need to override
Initialize() in any case (but this doesn't change the fact that there is
existing code that does do it).

See #13108.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/prntbase.h
interface/wx/print.h
src/common/prntbase.cpp