compilation fix for !wxUSE_VALIDATOR

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2004-01-22 11:34:15 +00:00
parent 2ac400737a
commit e7a74e8f28

View File

@ -74,6 +74,7 @@ public:
// wxNullBitmap from here - the default one will be used then. // wxNullBitmap from here - the default one will be used then.
virtual wxBitmap GetBitmap() const { return m_bitmap; } virtual wxBitmap GetBitmap() const { return m_bitmap; }
#if wxUSE_VALIDATOR
/// Override the base functions to allow a validator to be assigned to this page. /// Override the base functions to allow a validator to be assigned to this page.
bool TransferDataToWindow() bool TransferDataToWindow()
{ {
@ -87,6 +88,7 @@ public:
{ {
return GetValidator() ? GetValidator()->Validate(this) : wxPanel::Validate(); return GetValidator() ? GetValidator()->Validate(this) : wxPanel::Validate();
} }
#endif // wxUSE_VALIDATOR
protected: protected:
// common part of ctors: // common part of ctors: