Author: manolo
Date: 2012-09-30 08:15:12 -0700 (Sun, 30 Sep 2012)
New Revision: 9693
Log:
Restored the ShapedWindow class for the WIN32 platform.

Modified:
   branches/branch-3.0/src/fltk3/ShapedWindow.cxx

Modified: branches/branch-3.0/src/fltk3/ShapedWindow.cxx
===================================================================
--- branches/branch-3.0/src/fltk3/ShapedWindow.cxx      2012-09-29 22:38:53 UTC 
(rev 9692)
+++ branches/branch-3.0/src/fltk3/ShapedWindow.cxx      2012-09-30 15:15:12 UTC 
(rev 9693)
@@ -120,7 +120,7 @@
     SetRect(&pData->rdh.rcBound, MAXLONG, MAXLONG, 0, 0);
 
     const int bytesPerLine = (image->w() + 7)/8;
-    BYTE* p, *data = (BYTE*)image->data();
+    BYTE* p, *data = (BYTE*)image->data()[0];
     for (int y = 0; y < image->h(); y++) {
       // each row, left to right
       for (int x = 0; x < image->w(); x++) {

_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit

Reply via email to