]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation fix for !wxUSE_VALIDATOR
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 22 Jan 2004 11:34:15 +0000 (11:34 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 22 Jan 2004 11:34:15 +0000 (11:34 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/wizard.h

index 6afa2dbff99779bddaddc9aa0e8bb222b886e328..231f4e9e16f8b7dce92dba930e9cff5985f4f078 100644 (file)
@@ -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: