win: Fix building on Windows
This commit is contained in:
parent
60fb406c61
commit
c8723238f8
1 changed files with 2 additions and 2 deletions
|
@ -118,7 +118,7 @@ void NativeWindowViews::HandleSizeEvent(WPARAM w_param, LPARAM l_param) {
|
||||||
|
|
||||||
// When the window is restored we resize it to the previous known
|
// When the window is restored we resize it to the previous known
|
||||||
// normal size.
|
// normal size.
|
||||||
SetSize(last_normal_size_);
|
NativeWindow::SetSize(last_normal_size_);
|
||||||
|
|
||||||
NotifyWindowUnmaximize();
|
NotifyWindowUnmaximize();
|
||||||
break;
|
break;
|
||||||
|
@ -131,7 +131,7 @@ void NativeWindowViews::HandleSizeEvent(WPARAM w_param, LPARAM l_param) {
|
||||||
|
|
||||||
// When the window is restored we resize it to the previous known
|
// When the window is restored we resize it to the previous known
|
||||||
// normal size.
|
// normal size.
|
||||||
SetSize(last_normal_size_);
|
NativeWindow::SetSize(last_normal_size_);
|
||||||
|
|
||||||
NotifyWindowRestore();
|
NotifyWindowRestore();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue