]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/date.h
added wxBitmapToHICON/CURSOR helper functions
[wxWidgets.git] / include / wx / date.h
index 635457d9d3e0a81d725113d0324e7ff201e833d1..baebed2c7561fa1016eea0ec57bea91a5fe9ae5b 100644 (file)
@@ -6,14 +6,15 @@
 // Modified by: 18.12.99 by VZ to use the new wxDateTime class
 // Created:     01/02/97
 // RCS-ID:      $Id$
-// Copyright:(c)
+// Copyright:   Julian Smart, Steve Marcus, Eric Simon, Chris Hill,
+//              Charles D. Price
 // Licence:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
 
 #ifndef _WX_DATE_H_
 #define _WX_DATE_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
     #pragma interface "date.h"
 #endif
 
@@ -55,7 +56,7 @@ public:
     wxDate(long j) : m_date((double)(j + 0.5)) { Init(); }
     wxDate(int m, int d, int y) : m_date(d, (wxDateTime::Month)m, y) { Init(); }
     wxDate(const wxString& dat) { Init(); (void)m_date.ParseDate(dat); }
-    wxDate(const wxDate &date) { *this = date; }
+    wxDate(const wxDate &date) : wxObject() { *this = date; }
 
     wxDate(const wxDateTime& dt) { Init(); m_date = dt; }