]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/filename.cpp
My iconv (GLIBC 2.2) uses char** as the second
[wxWidgets.git] / src / common / filename.cpp
index cf4867b024d762fdacb04dc5164aad0fa9f0c936..cebec267bcbf4aa68334d5c3e501aca0c3918fdb 100644 (file)
@@ -152,6 +152,13 @@ bool wxFileName::DirExists( const wxString &dir )
     return ::wxDirExists( dir );
 }
 
+wxDateTime wxFileName::GetModificationTime()
+{
+    wxDateTime ret( wxFileModificationTime( GetFullPath() ) );
+
+    return ret;
+}
+
 // ----------------------------------------------------------------------------
 // CWD and HOME stuff
 // ----------------------------------------------------------------------------
@@ -571,7 +578,8 @@ wxString wxFileName::GetLongPath() const
         s_triedToLoad = TRUE;
 
         wxDllType dllKernel = wxDllLoader::LoadLibrary(_T("kernel32"));
-        if ( 0 ) // dllKernel )
+        short avoidCompilerWarning = 0;
+        if ( avoidCompilerWarning ) // dllKernel )
         {
             // may succeed or fail depending on the Windows version
 #ifdef _UNICODE