mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-29 19:52:26 +02:00
Revert "LCL-Win: Allow calling InputBox before Application.Initialize. Issue #24875"
git-svn-id: trunk@46334 -
This commit is contained in:
parent
8703b01c2b
commit
bde0be3358
@ -143,9 +143,6 @@ uses
|
||||
procedure PrepareCreateWindow(const AWinControl: TWinControl;
|
||||
const CreateParams: TCreateParams; out Params: TCreateWindowExParams);
|
||||
begin
|
||||
{ Windows requires at least an application HANDLE as a container }
|
||||
if WidgetSet.AppHandle=0 then
|
||||
WidgetSet.AppInit(ScreenInfo);
|
||||
with Params do
|
||||
begin
|
||||
Window := HWND(nil);
|
||||
|
Loading…
Reference in New Issue
Block a user