FLTK logo

[master] 792cfc2 - native-filechooser has preview panel with FLTK_USE_X11 and macOS

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.commit  ]
 
Previous Message ]Next Message ]

[master] 792cfc2 - native-filechooser has preview panel with FLTK_USE_X11 and macOS "ManoloFLTK" 10:32 Mar 18  
 
commit 792cfc27e772c1e686f35134336e5ddb07cb5f1c
Author:     ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
AuthorDate: Mon Mar 18 18:22:41 2024 +0100
Commit:     ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
CommitDate: Mon Mar 18 18:22:41 2024 +0100

    native-filechooser has preview panel with FLTK_USE_X11 and macOS

 test/native-filechooser.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git test/native-filechooser.cxx test/native-filechooser.cxx
index 0af2584..4dc7ff0 100644
--- test/native-filechooser.cxx
+++ test/native-filechooser.cxx
@@ -91,7 +91,7 @@ int main(int argc, char **argv) {
 
     None of that is useful for the native file chooser under macOS or Windows.
    */
-#if !defined(_WIN32) && !defined(__APPLE__)
+#if defined(FLTK_USE_X11) || defined(FLTK_USE_WAYLAND)
   fl_register_images();
   Fl_File_Icon::load_system_icons();
 #endif
Direct Link to Message ]
 
     
Previous Message ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.