Browse Source

tags/2021-05-28
jules 17 years ago
parent
commit
7cce003baa
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      build/win32/platform_specific_code/juce_win32_Windowing.cpp

+ 2
- 1
build/win32/platform_specific_code/juce_win32_Windowing.cpp View File

@@ -3801,7 +3801,8 @@ public:
static bool doesWindowMatch (const ActiveXControlComponent* const ax, HWND hwnd) 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…
Cancel
Save