Patch: [#22524] Update Windows Recent Documents on Open/Save
[blender.git] / intern / ghost / intern / GHOST_SystemPathsWin32.cpp
index 99467689a7a087953821390b94507cfac41643c3..843a4e6a4603a5ba64c5899d89429e359389b2c9 100644 (file)
@@ -79,3 +79,10 @@ const GHOST_TUns8* GHOST_SystemPathsWin32::getBinaryDir() const
 
        return NULL;
 }
+
+void GHOST_SystemPathsWin32::addToSystemRecentFiles(const char* filename) const
+{
+       /* SHARD_PATHA is for ansi strings, use SHARD_PATHW for wide */
+       SHAddToRecentDocs(SHARD_PATHA,filename);
+
+}
\ No newline at end of file