X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/22f3361e1cf25c52a2da8fdfc5cb081809e18fb9..aae91497f6ac36a76d3313cf405cae0f098ea1d1:/include/wx/cmdline.h

diff --git a/include/wx/cmdline.h b/include/wx/cmdline.h
index a6808091ea..5899ddf646 100644
--- a/include/wx/cmdline.h
+++ b/include/wx/cmdline.h
@@ -7,7 +7,7 @@
 // Created:     04.01.00
 // RCS-ID:      $Id$
 // Copyright:   (c) 2000 Vadim Zeitlin <zeitlin@dptmaths.ens-cachan.fr>
-// Licence:     wxWindows license
+// Licence:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
 
 #ifndef _WX_CMDLINE_H_
@@ -185,9 +185,11 @@ public:
     // the value in the provided pointer
     bool Found(const wxString& name, long *value) const;
 
+#if wxUSE_DATETIME
     // returns TRUE if an option taking a date value was found and stores the
     // value in the provided pointer
     bool Found(const wxString& name, wxDateTime *value) const;
+#endif // wxUSE_DATETIME
 
     // gets the number of parameters found
     size_t GetParamCount() const;