Author: spitzak
Date: 2010-07-16 13:05:23 -0700 (Fri, 16 Jul 2010)
New Revision: 7678
Log:
Fixes needed to make it compile on Windows with VC.NET
Modified:
trunk/fltk/Cursor.h
trunk/src/Window_fullscreen.cxx
Modified: trunk/fltk/Cursor.h
===================================================================
--- trunk/fltk/Cursor.h 2010-07-10 15:24:33 UTC (rev 7677)
+++ trunk/fltk/Cursor.h 2010-07-16 20:05:23 UTC (rev 7678)
@@ -15,7 +15,7 @@
struct Cursor; // this is not public
class Image;
-Cursor* cursor(Image*, int x, int y);
+extern FL_API Cursor* cursor(Image*, int x, int y);
extern FL_API Cursor* cursor(void *raw);
extern FL_API Cursor* const CURSOR_DEFAULT; // == NULL
Modified: trunk/src/Window_fullscreen.cxx
===================================================================
--- trunk/src/Window_fullscreen.cxx 2010-07-10 15:24:33 UTC (rev 7677)
+++ trunk/src/Window_fullscreen.cxx 2010-07-16 20:05:23 UTC (rev 7678)
@@ -180,8 +180,9 @@
}
void Window::maximize() {
-#ifdef __WIN32__
+#ifdef _WIN32
// ShowWindow - http://msdn.microsoft.com/en-us/library/ms633548.aspx
+
// idea from Edzard Egberts - thanks
HWND hWnd = fltk::xid(this);
_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit