From 721138167296013fed66fa9dfb1a42ce4801e9b3 Mon Sep 17 00:00:00 2001 From: Brian Fiete Date: Fri, 15 May 2020 06:28:32 -0700 Subject: [PATCH] Added a windows-only error --- BeefLibs/corlib/src/IO/SaveFileDialog.bf | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/BeefLibs/corlib/src/IO/SaveFileDialog.bf b/BeefLibs/corlib/src/IO/SaveFileDialog.bf index d075a2c2..89585e2d 100644 --- a/BeefLibs/corlib/src/IO/SaveFileDialog.bf +++ b/BeefLibs/corlib/src/IO/SaveFileDialog.bf @@ -97,4 +97,15 @@ namespace System.IO } } +#else + +namespace System.IO +{ + [Error("This class is only available on Windows")] + class SaveFileDialog + { + + } +} + #endif \ No newline at end of file