From e7a74e8f28fa1aec918563de57f596c6e8fa5634 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 22 Jan 2004 11:34:15 +0000 Subject: [PATCH] compilation fix for !wxUSE_VALIDATOR git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/wizard.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/wx/wizard.h b/include/wx/wizard.h index 6afa2dbff9..231f4e9e16 100644 --- a/include/wx/wizard.h +++ b/include/wx/wizard.h @@ -74,6 +74,7 @@ public: // wxNullBitmap from here - the default one will be used then. virtual wxBitmap GetBitmap() const { return m_bitmap; } +#if wxUSE_VALIDATOR /// Override the base functions to allow a validator to be assigned to this page. bool TransferDataToWindow() { @@ -87,6 +88,7 @@ public: { return GetValidator() ? GetValidator()->Validate(this) : wxPanel::Validate(); } +#endif // wxUSE_VALIDATOR protected: // common part of ctors: