summaryrefslogtreecommitdiff
path: root/src/Fl_get_key_win32.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Fl_get_key_win32.cxx')
-rw-r--r--src/Fl_get_key_win32.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Fl_get_key_win32.cxx b/src/Fl_get_key_win32.cxx
index 0d717a1f6..0684bb512 100644
--- a/src/Fl_get_key_win32.cxx
+++ b/src/Fl_get_key_win32.cxx
@@ -20,7 +20,7 @@
// which are actually X keysyms. So this has to translate to MSWindows
// VK_x symbols.
-#include <FL/Fl.H>
+#include "drivers/WinAPI//Fl_WinAPI_System_Driver.H"
#include <FL/x.H>
// convert an Fltk (X) keysym to a MSWindows VK symbol:
@@ -115,11 +115,11 @@ static int fltk2ms(int fltk) {
return 0;
}
-int Fl::event_key(int k) {
+int Fl_WinAPI_System_Driver::event_key(int k) {
return GetKeyState(fltk2ms(k))&~1;
}
-int Fl::get_key(int k) {
+int Fl_WinAPI_System_Driver::get_key(int k) {
uchar foo[256];
GetKeyboardState(foo);
return foo[fltk2ms(k)]&~1;