A
Alf P. Steinbach
virtual win32::WindowHandle parentOrOwnerWindow() const
{
CPPX_IS_OVERRIDE_OF( Base:arentOrOwnerWindow );
// ... impl
}
Caught me by surprise, I'd never thought of that as a reason to make virtuals
protected, even though it's obvious.
But now (at least until C++0x) the FAQ's advice doesn't seem so wrong anymore...
Cheers,
- Alf
{
CPPX_IS_OVERRIDE_OF( Base:arentOrOwnerWindow );
// ... impl
}
Caught me by surprise, I'd never thought of that as a reason to make virtuals
protected, even though it's obvious.
But now (at least until C++0x) the FAQ's advice doesn't seem so wrong anymore...
Cheers,
- Alf