|
|
commit 4eaa6dfd0d589757c37cc2de14389f6a15b0219b
Author: Albrecht Schlosser <albrechts.fltk@online.de>
AuthorDate: Thu Feb 3 19:38:33 2022 +0100
Commit: Albrecht Schlosser <albrechts.fltk@online.de>
CommitDate: Thu Feb 3 19:38:33 2022 +0100
Remove platform #ifdef from macOS native filechooser
src/Fl_Native_File_Chooser_MAC.mm | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git src/Fl_Native_File_Chooser_MAC.mm src/Fl_Native_File_Chooser_MAC.mm
index ae0072f..413ceda 100644
--- src/Fl_Native_File_Chooser_MAC.mm
+++ src/Fl_Native_File_Chooser_MAC.mm
@@ -1,8 +1,8 @@
//
-// FLTK native OS file chooser widget
+// FLTK native OS file chooser widget for macOS
//
-// Copyright 1998-2018 by Bill Spitzak and others.
// Copyright 2004 Greg Ercolano.
+// Copyright 1998-2022 by Bill Spitzak and others.
//
// This library is free software. Distribution and use rights are outlined in
// the file "COPYING" which should have been included with this file. If this
@@ -20,8 +20,6 @@
// Possibly 'preset_file' could be used to select the filename.
//
-#ifdef __APPLE__
-
#include <FL/Fl.H>
#include <FL/platform.H> // for fl_mac_os_version
#include <FL/Fl_Native_File_Chooser.H>
@@ -759,5 +757,3 @@ int Fl_Quartz_Native_File_Chooser_Driver::post() {
[localPool release];
return (retval == 1 ? 0 : 1);
}
-
-#endif // __APPLE__
[ Direct Link to Message ] | |
|
| |