summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Fl_Native_File_Chooser.cxx3
-rw-r--r--src/drivers/PicoSDL/Fl_PicoSDL_System_Driver.cxx3
2 files changed, 4 insertions, 2 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
diff --git a/src/drivers/PicoSDL/Fl_PicoSDL_System_Driver.cxx b/src/drivers/PicoSDL/Fl_PicoSDL_System_Driver.cxx
index 6122ff5f1..47cbe81a5 100644
--- a/src/drivers/PicoSDL/Fl_PicoSDL_System_Driver.cxx
+++ b/src/drivers/PicoSDL/Fl_PicoSDL_System_Driver.cxx
@@ -18,7 +18,7 @@
#include "../../config_lib.h"
-#include "../../FL/Fl_System_Driver.H"
+#include <FL/Fl_System_Driver.H>
//#include "Fl_PicoSDL_System_Driver.h"
@@ -31,6 +31,7 @@ Fl_System_Driver *Fl_System_Driver::newSystemDriver()
return new Fl_System_Driver();
}
+void fl_open_callback(void (*cb)(const char *)) {}
//
// End of "$Id: Fl_PicoSDL_System_Driver.cxx 11241 2016-02-27 13:52:27Z manolo $".