#include "system_font_dialog.h"
#include "wx_util.h"
+#include <dcp/filesystem.h>
+#include <dcp/warnings.h>
+LIBDCP_DISABLE_WARNINGS
#include <wx/listctrl.h>
+LIBDCP_ENABLE_WARNINGS
#include <boost/filesystem.hpp>
-#include <iostream>
-using std::cout;
using std::string;
using boost::optional;
fonts = boost::filesystem::path (windir) / "Fonts";
}
- for (auto i: boost::filesystem::directory_iterator (fonts)) {
+ for (auto i: dcp::filesystem::directory_iterator(fonts)) {
auto ext = i.path().extension().string();
transform (ext.begin(), ext.end(), ext.begin(), ::tolower);