View Issue Details

IDProjectCategoryView StatusLast Update
0018039LazarusLCLpublic2010-11-25 01:36
ReporterDirk SchiphorstAssigned ToPaul Ishenin 
PrioritynormalSeveritymajorReproducibilityN/A
Status closedResolutionfixed 
Product Version0.9.29 (SVN)Product Build28445 
Target VersionFixed in Version0.9.29 (SVN) 
Summary0018039: compilation error of LCL for Wince
DescriptionError when compiling LCL for Wince:
C:\dev\lazarus_trunk\lcl\interfaces\wince\wincewinapi.inc(1305,36) Error: Wrong number of parameters specified for call to "Rect"
Additional InformationError introduced in svn 28392
Fix is straightforward: change Rect to ARect in call to DrawEdge.
Patch attached.
TagsNo tags attached.
Fixed in Revision28456
LazTarget-
WidgetsetWinCE
Attached Files
  • wince-patch.patch (479 bytes)
    Index: wincewinapi.inc
    ===================================================================
    --- wincewinapi.inc	(revision 28445)
    +++ wincewinapi.inc	(working copy)
    @@ -1302,7 +1302,7 @@
       I: Integer;
     begin
       for I := 0 to FrameWidth - 1 do
    -    Result := Boolean(DrawEdge(DC, Rect, Edge[Style], BF_RECT or BF_ADJUST));
    +    Result := Boolean(DrawEdge(DC, ARect, Edge[Style], BF_RECT or BF_ADJUST));
     end;
     
     function TWinCEWidgetSet.FrameRect(DC: HDC; const ARect: TRect;
    
    wince-patch.patch (479 bytes)

Activities

2010-11-24 12:53

 

wince-patch.patch (479 bytes)
Index: wincewinapi.inc
===================================================================
--- wincewinapi.inc	(revision 28445)
+++ wincewinapi.inc	(working copy)
@@ -1302,7 +1302,7 @@
   I: Integer;
 begin
   for I := 0 to FrameWidth - 1 do
-    Result := Boolean(DrawEdge(DC, Rect, Edge[Style], BF_RECT or BF_ADJUST));
+    Result := Boolean(DrawEdge(DC, ARect, Edge[Style], BF_RECT or BF_ADJUST));
 end;
 
 function TWinCEWidgetSet.FrameRect(DC: HDC; const ARect: TRect;
wince-patch.patch (479 bytes)

Paul Ishenin

2010-11-24 15:14

manager   ~0043470

Thanks, applied. Please close if ok.

Dirk Schiphorst

2010-11-25 01:36

reporter   ~0043502

Fix confirmed

Issue History

Date Modified Username Field Change
2010-11-24 12:53 Dirk Schiphorst New Issue
2010-11-24 12:53 Dirk Schiphorst File Added: wince-patch.patch
2010-11-24 12:53 Dirk Schiphorst Widgetset => WinCE
2010-11-24 15:14 Paul Ishenin Fixed in Revision => 28456
2010-11-24 15:14 Paul Ishenin LazTarget => -
2010-11-24 15:14 Paul Ishenin Status new => resolved
2010-11-24 15:14 Paul Ishenin Fixed in Version => 0.9.29 (SVN)
2010-11-24 15:14 Paul Ishenin Resolution open => fixed
2010-11-24 15:14 Paul Ishenin Assigned To => Paul Ishenin
2010-11-24 15:14 Paul Ishenin Note Added: 0043470
2010-11-25 01:36 Dirk Schiphorst Status resolved => closed
2010-11-25 01:36 Dirk Schiphorst Note Added: 0043502