]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/date.cpp
1. wxLongLong and wxDateTime compilation fixed for the compilers without native
[wxWidgets.git] / src / common / date.cpp
index 5d89d60e25096bf96f8514387faf1a265a6c739f..4d506347eb83203a7e849f07c84db3d842409a4c 100644 (file)
@@ -54,9 +54,7 @@ static const wxChar *mname[] = {
 
 static int GauDays[] = { 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 };
 
-#if !USE_SHARED_LIBRARY
 IMPLEMENT_DYNAMIC_CLASS(wxDate, wxObject)
-#endif
 
     ////////////////////////////////////////////////////////////
     // Constructors
@@ -414,7 +412,6 @@ wxString wxDate::FormatDate (int type) const
                : (abs(year))  );
             return wxString(buf);
     }
-    return wxString(wxT(""));
 }
 
 void wxDate::SetFormat( int format )
@@ -445,7 +442,6 @@ int wxDate::SetOption( int option, bool action )
         default:
             return 0;
     }
-    return 0;
 }
 
 ///////////////////////////////////////////////////////////////