win: Fix building on Windows

This commit is contained in:
Cheng Zhao 2015-10-06 00:21:37 +08:00
parent 60fb406c61
commit c8723238f8

View file

@ -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();
} }