Fix compilation when wxAny was disabled (fixes #12148)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Jaakko Salli
2010-06-15 13:34:01 +00:00
parent 109e2ca434
commit 6589f1a49a

View File

@@ -270,6 +270,7 @@ public:
virtual wxString GetType() const { return wxT("long"); } virtual wxString GetType() const { return wxT("long"); }
#if wxUSE_ANY
// Since wxAny does not have separate type for integers shorter than // Since wxAny does not have separate type for integers shorter than
// longlong, we do not usually implement wxVariant->wxAny conversion // longlong, we do not usually implement wxVariant->wxAny conversion
// here (but in wxVariantDataLongLong instead). // here (but in wxVariantDataLongLong instead).
@@ -282,6 +283,7 @@ public:
return true; return true;
} }
#endif #endif
#endif // wxUSE_ANY
protected: protected:
long m_value; long m_value;