Type: info
Title: OWizardPage CTOR gets Window instead of OWizardMachine as parent
Posted by: [EMAIL PROTECTED]
Affected: svtools
Effective from: SRC680.m213
*Summary*
--------
-OWizardPage( OWizardMachine* _pParent, WinBits _nStyle = 0 );
-OWizardPage( OWizardMachine* _pParent, const ResId& _rResId );
+OWizardPage( Window* _pParent, WinBits _nStyle = 0 );
+OWizardPage( Window* _pParent, const ResId& _rResId );
*Description*
-------------
As Window is a base class of OWizardMachine, no changes to calling
code should be necessary.
This change was made, because I implemented a TabPage that is also
derived from OWizardPage to be used in a TabDialog as well as in an
OWizardMachine.
There is only one place in the wizard machine's code where an
OWizardMachine is used to determine the state of the next button. This
is now done via a dynamic cast, i.e. for non OWizardMachine parent
windows nothing happens there.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]