mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-25 15:09:24 +02:00
AJ: minor fixes for FPC 1.1
git-svn-id: trunk@1180 -
This commit is contained in:
parent
bb9f2ffbaa
commit
dd5332cf78
@ -292,7 +292,7 @@ begin
|
|||||||
then begin
|
then begin
|
||||||
with DestinationDC do
|
with DestinationDC do
|
||||||
begin
|
begin
|
||||||
hWnd := SourceDC.hWnd;
|
Wnd := SourceDC.Wnd;
|
||||||
Drawable := SourceDC.Drawable;
|
Drawable := SourceDC.Drawable;
|
||||||
if GC<>nil then begin
|
if GC<>nil then begin
|
||||||
gdk_gc_unref(GC);
|
gdk_gc_unref(GC);
|
||||||
@ -1236,8 +1236,8 @@ var
|
|||||||
begin
|
begin
|
||||||
if (DC<>nil) then begin
|
if (DC<>nil) then begin
|
||||||
Result:=DC.Origin;
|
Result:=DC.Origin;
|
||||||
if (DC.SpecialOrigin) and (DC.hWnd<>0) then begin
|
if (DC.SpecialOrigin) and (DC.Wnd<>0) then begin
|
||||||
Fixed := GetFixedWidget(PGTKWidget(DC.hWnd));
|
Fixed := GetFixedWidget(PGTKWidget(DC.Wnd));
|
||||||
if GtkWidgetIsA(Fixed,GTK_LAYOUT_GET_TYPE) then begin
|
if GtkWidgetIsA(Fixed,GTK_LAYOUT_GET_TYPE) then begin
|
||||||
// ToDo: add comment
|
// ToDo: add comment
|
||||||
Adjustment:=gtk_layout_get_hadjustment(PGtkLayout(Fixed));
|
Adjustment:=gtk_layout_get_hadjustment(PGtkLayout(Fixed));
|
||||||
@ -3523,6 +3523,9 @@ end;
|
|||||||
{ =============================================================================
|
{ =============================================================================
|
||||||
|
|
||||||
$Log$
|
$Log$
|
||||||
|
Revision 1.131 2002/10/20 19:03:57 lazarus
|
||||||
|
AJ: minor fixes for FPC 1.1
|
||||||
|
|
||||||
Revision 1.130 2002/10/18 16:08:10 lazarus
|
Revision 1.130 2002/10/18 16:08:10 lazarus
|
||||||
AJ: Partial HintWindow Fix; Added Screen.Font & Font.Name PropEditor; Started to fix ComboBox DropDown size/pos
|
AJ: Partial HintWindow Fix; Added Screen.Font & Font.Name PropEditor; Started to fix ComboBox DropDown size/pos
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user