Revert "LCL-Win: Allow calling InputBox before Application.Initialize. Issue #24875"

git-svn-id: trunk@46334 -
This commit is contained in:
juha 2014-09-25 22:42:33 +00:00
parent 8703b01c2b
commit bde0be3358

View File

@ -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);