]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/wizard.h
font-encodings additions
[wxWidgets.git] / 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: