|
|
@@ -2231,9 +2231,12 @@ protected:
|
|
|
{
|
|
|
@autoreleasepool
|
|
|
{
|
|
|
- [Window setContentSize:NSSize{x, y}];
|
|
|
+ if (Window != nullptr)
|
|
|
+ {
|
|
|
+ [Window setContentSize:NSSize{x, y}];
|
|
|
|
|
|
- [Window setFrameTopLeftPoint:ToNSPoint(ConvertPointY(lastPositionSet))];
|
|
|
+ [Window setFrameTopLeftPoint:ToNSPoint(ConvertPointY(lastPositionSet))];
|
|
|
+ }
|
|
|
|
|
|
return S_OK;
|
|
|
}
|