|
|
|
@ -45,6 +45,7 @@ public: |
|
|
|
StandardContainer = [[AutoFitContentView new] initWithContent:View]; |
|
|
|
|
|
|
|
Window = [[AvnWindow alloc] initWithParent:this]; |
|
|
|
[Window setContentView: StandardContainer]; |
|
|
|
|
|
|
|
lastPositionSet.X = 100; |
|
|
|
lastPositionSet.Y = 100; |
|
|
|
@ -126,8 +127,6 @@ public: |
|
|
|
SetPosition(lastPositionSet); |
|
|
|
UpdateStyle(); |
|
|
|
|
|
|
|
[Window setContentView: StandardContainer]; |
|
|
|
|
|
|
|
[Window setTitle:_lastTitle]; |
|
|
|
|
|
|
|
if(ShouldTakeFocusOnShow() && activate) |
|
|
|
@ -340,7 +339,8 @@ public: |
|
|
|
BaseEvents->Resized(AvnSize{x,y}, reason); |
|
|
|
} |
|
|
|
|
|
|
|
[Window setContentSize:NSSize{x, y}]; |
|
|
|
[Window setContentSize:NSSize{x,y}]; |
|
|
|
[Window invalidateShadow]; |
|
|
|
} |
|
|
|
@finally |
|
|
|
{ |
|
|
|
|