summaryrefslogtreecommitdiff
path: root/src/drivers/WinAPI
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/WinAPI')
-rw-r--r--src/drivers/WinAPI/fl_WinAPI_platform_init.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/drivers/WinAPI/fl_WinAPI_platform_init.cxx b/src/drivers/WinAPI/fl_WinAPI_platform_init.cxx
index fa6b41d24..49c7436c3 100644
--- a/src/drivers/WinAPI/fl_WinAPI_platform_init.cxx
+++ b/src/drivers/WinAPI/fl_WinAPI_platform_init.cxx
@@ -21,6 +21,7 @@
#include "Fl_WinAPI_System_Driver.H"
#include "Fl_WinAPI_Window_Driver.H"
#include "../GDI/Fl_GDI_Image_Surface_Driver.H"
+#include "../Base/Fl_Base_Pen_Events.H"
Fl_Copy_Surface_Driver *Fl_Copy_Surface_Driver::newCopySurfaceDriver(int w, int h)
@@ -81,3 +82,10 @@ Fl_Image_Surface_Driver *Fl_Image_Surface_Driver::newImageSurfaceDriver(int w, i
{
return new Fl_GDI_Image_Surface_Driver(w, h, high_res, off);
}
+
+namespace FL {
+namespace Pen{
+Driver default_driver;
+Driver& driver { default_driver };
+} // namespace Pen
+} // namespace FL