mirror of https://github.com/fltk/fltk
Start putting forward declarations early in the file in an
organised manner. Keeps things cleaner. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10366 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
f127b22270
commit
933840f353
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue