diff --git a/src/Fl_win32.cxx b/src/Fl_win32.cxx index 3a4cdfab4..fe051e363 100644 --- a/src/Fl_win32.cxx +++ b/src/Fl_win32.cxx @@ -82,10 +82,20 @@ for async mode proper operation, not mentioning the side effects... */ +// Internal functions +static void fl_clipboard_notify_target(HWND wnd); +static void fl_clipboard_notify_untarget(HWND wnd); + +// Internal variables static Fl_GDI_Graphics_Driver fl_gdi_driver; static Fl_Display_Device fl_gdi_display(&fl_gdi_driver); Fl_Display_Device *Fl_Display_Device::_display = &fl_gdi_display; // the platform display +static HWND clipboard_wnd = 0; +static HWND next_clipboard_wnd = 0; + +static bool initial_clipboard = true; + // dynamic wsock dll handling api: #if defined(__CYGWIN__) && !defined(SOCKET) # define SOCKET int @@ -786,11 +796,6 @@ int Fl::clipboard_contains(const char *type) return retval; } -static HWND clipboard_wnd = 0; -static HWND next_clipboard_wnd = 0; - -static bool initial_clipboard = true; - static void fl_clipboard_notify_target(HWND wnd) { if (clipboard_wnd) return;