summaryrefslogtreecommitdiff
path: root/src/Fl_Native_File_Chooser.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Fl_Native_File_Chooser.cxx')
-rw-r--r--src/Fl_Native_File_Chooser.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Fl_Native_File_Chooser.cxx b/src/Fl_Native_File_Chooser.cxx
index 77000c887..b42a331b5 100644
--- a/src/Fl_Native_File_Chooser.cxx
+++ b/src/Fl_Native_File_Chooser.cxx
@@ -22,7 +22,8 @@
#ifdef FL_PORTING
# pragma message "Implement a native file chooser (see Fl_Native_File_Chooser_Driver), or use FLTK's chooser, or don't use any chooser"
Fl_Native_File_Chooser::Fl_Native_File_Chooser(int val) {
- platform_fnfc = new Fl_Native_File_Chooser_FLTK_Driver(val);
+ //platform_fnfc = new Fl_Native_File_Chooser_FLTK_Driver(val); // do this to use FLTK's default file chooser
+ platform_fnfc = 0; // do this so class Fl_Native_File_Chooser does nothing
}
#endif