mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-23 00:39:44 +02:00
lcl, win32: cleanup
git-svn-id: trunk@29244 -
This commit is contained in:
parent
50f08451fd
commit
e24e12ac8d
@ -320,7 +320,6 @@ end;
|
||||
------------------------------------------------------------------------------}
|
||||
procedure TApplication.Minimize;
|
||||
begin
|
||||
//debugln('TApplication.Minimize');
|
||||
WidgetSet.AppMinimize;
|
||||
end;
|
||||
|
||||
@ -355,7 +354,6 @@ end;
|
||||
------------------------------------------------------------------------------}
|
||||
procedure TApplication.Restore;
|
||||
begin
|
||||
//debugln('TApplication.Restore');
|
||||
WidgetSet.AppRestore;
|
||||
end;
|
||||
|
||||
|
@ -2208,7 +2208,7 @@ begin
|
||||
begin
|
||||
if (Window = TWin32WidgetSet(WidgetSet).AppHandle) and
|
||||
Assigned(TWin32WidgetSet(WidgetSet).FOnAsyncSocketMsg) then
|
||||
exit(TWin32WidgetSet(WidgetSet).FOnAsyncSocketMsg(WParam, LParam))
|
||||
Exit(TWin32WidgetSet(WidgetSet).FOnAsyncSocketMsg(WParam, LParam))
|
||||
end;
|
||||
else
|
||||
// pass along user defined messages
|
||||
|
@ -91,12 +91,6 @@ const
|
||||
SKIP_LMCHANGE = 1000;
|
||||
|
||||
type
|
||||
PInitCommonControlsEx = ^TInitCommonControlsEx;
|
||||
TInitCommonControlsEx = record
|
||||
dwSize: dword;
|
||||
dwICC: dword;
|
||||
end;
|
||||
|
||||
PPPipeEventInfo = ^PPipeEventInfo;
|
||||
PPipeEventInfo = ^TPipeEventInfo;
|
||||
TPipeEventInfo = record
|
||||
@ -249,7 +243,6 @@ uses
|
||||
Win32WSButtons,
|
||||
Win32WSExtCtrls,
|
||||
Win32WSMenus,
|
||||
Win32WSSpin,
|
||||
Win32WSStdCtrls,
|
||||
Win32WSDialogs,
|
||||
Win32Themes,
|
||||
|
@ -83,19 +83,6 @@ type
|
||||
{ TWin32WSBitBtn }
|
||||
|
||||
const
|
||||
BUTTON_IMAGELIST_ALIGN_LEFT = 0;
|
||||
BUTTON_IMAGELIST_ALIGN_RIGHT = 1;
|
||||
BUTTON_IMAGELIST_ALIGN_TOP = 2;
|
||||
BUTTON_IMAGELIST_ALIGN_BOTTOM = 3;
|
||||
BUTTON_IMAGELIST_ALIGN_CENTER = 4;
|
||||
|
||||
BCM_FIRST = $1600;
|
||||
BCM_GETIDEALSIZE = BCM_FIRST + 1;
|
||||
BCM_SETIMAGELIST = BCM_FIRST + 2;
|
||||
BCM_GETIMAGELIST = BCM_FIRST + 3;
|
||||
BCM_SETTEXTMARGIN = BCM_FIRST + 4;
|
||||
BCM_GETTEXTMARGIN = BCM_FIRST + 5;
|
||||
|
||||
{ - you do need to destroy the imagelist yourself.
|
||||
- you'll need 5 images to support all themed xp button states...
|
||||
|
||||
@ -112,13 +99,6 @@ const
|
||||
BitBtnEnabledToButtonState: array[boolean] of TButtonState =
|
||||
(bsDisabled, bsUp);
|
||||
|
||||
type
|
||||
BUTTON_IMAGELIST = record
|
||||
himl: Windows.HIMAGELIST;
|
||||
margin: Windows.RECT;
|
||||
uAlign: UINT;
|
||||
end;
|
||||
|
||||
function Create32BitHBitmap(ADC: HDC; AWidth, AHeight: Integer; out BitsPtr: Pointer): HBitmap;
|
||||
var
|
||||
Info: Windows.TBitmapInfo;
|
||||
|
Loading…
Reference in New Issue
Block a user