MG: added paint messages for some gtk internal widgets

git-svn-id: trunk@2363 -
This commit is contained in:
lazarus 2002-08-17 23:41:18 +00:00
parent edcf357e95
commit 632ff25e08

View File

@ -1,3 +1,17 @@
{
*****************************************************************************
* *
* This file is part of the Lazarus Component Library (LCL) *
* *
* See the file COPYING.LCL, included in this distribution, *
* for details about the copyright. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* *
*****************************************************************************
}
unit gtkglobals;
{$mode objfpc}{$H+}
@ -171,14 +185,17 @@ var
// Internal Paint message:
const
LM_GTKPaint = LM_INTERFACEFIRST;
LM_GTKPaint = LM_INTERFACEFIRST + 0;
GtkPaint_LCLWidget = 1;
GtkPaint_GtkWidget = 2;
type
TLMGtkPaint = packed record
Msg: Cardinal;
Widget: PGtkWidget;
Unused1: integer;
Unused2: integer;
State: integer; // see GtkPaint_xxx
Unused: integer;
end;
@ -249,6 +266,7 @@ const
OldMenuSizeRequestProc: TMenuSizeRequestProc = nil;
OldCheckMenuItemToggleSize: integer = 0;
implementation
end.