added wxUSE_VARIANT guards

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2006-09-25 12:55:25 +00:00
parent 888355224c
commit d5dc103fd4
2 changed files with 10 additions and 2 deletions

View File

@@ -18,6 +18,8 @@
#include "wx/variant.h"
#if wxUSE_VARIANT
#ifndef WX_PRECOMP
#include "wx/string.h"
#include "wx/math.h"
@@ -2103,3 +2105,5 @@ bool wxVariant::Convert(wxDateTime* value) const
(value->ParseDateTime(val) || value->ParseDate(val) || value->ParseTime(val));
}
#endif // wxUSE_DATETIME
#endif // wxUSE_VARIANT