parent
125bd6aa2b
commit
a54afabe04
1 changed files with 1 additions and 1 deletions
|
@ -1085,7 +1085,7 @@ void NativeWindowViews::Center() {
|
||||||
#else
|
#else
|
||||||
HWND hwnd = GetAcceleratedWidget();
|
HWND hwnd = GetAcceleratedWidget();
|
||||||
gfx::Size size = display::win::ScreenWin::DIPToScreenSize(hwnd, GetSize());
|
gfx::Size size = display::win::ScreenWin::DIPToScreenSize(hwnd, GetSize());
|
||||||
gfx::CenterAndSizeWindow(hwnd, hwnd, size);
|
gfx::CenterAndSizeWindow(nullptr, hwnd, size);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue