Skip to content

Commit

Permalink
The WMGetTextLength event is called after the cPanel has been destroyed.
Browse files Browse the repository at this point in the history
  • Loading branch information
Roman Kassebaum committed Aug 3, 2016
1 parent 004071a commit 664f6b9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions source/EsCalc.pas
Original file line number Diff line number Diff line change
Expand Up @@ -1294,6 +1294,9 @@ procedure TEsCustomCalculator.WMGetText(var Msg : TWMGetText);

procedure TEsCustomCalculator.WMGetTextLength(var Msg : TWMGetTextLength);
begin
if cPanel = nil then
Exit;

if not cPanel.HandleAllocated then
Exit;

Expand Down

0 comments on commit 664f6b9

Please sign in to comment.