mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-14 00:14:18 +00:00
This commit is contained in:
parent
74058ac5f1
commit
7cce003baa
1 changed files with 2 additions and 1 deletions
|
|
@ -3801,7 +3801,8 @@ public:
|
|||
|
||||
static bool doesWindowMatch (const ActiveXControlComponent* const ax, HWND hwnd)
|
||||
{
|
||||
return ((ActiveXControlData*) ax->control)->controlHWND == hwnd;
|
||||
return ((ActiveXControlData*) ax->control) != 0
|
||||
&& ((ActiveXControlData*) ax->control)->controlHWND == hwnd;
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue