mirror of
https://github.com/clangen/musikcube.git
synced 2025-01-04 08:42:07 +00:00
BUGFIX: Fixed Window Centering for new TopLevelWindows
This commit is contained in:
parent
841079be0d
commit
e1c554bd40
@ -119,8 +119,8 @@ HWND TopLevelWindow::Create(Window* parent)
|
|||||||
style, // Style
|
style, // Style
|
||||||
CW_USEDEFAULT, // X
|
CW_USEDEFAULT, // X
|
||||||
CW_USEDEFAULT, // Y
|
CW_USEDEFAULT, // Y
|
||||||
240, // Width
|
(this->minSize.width) ? this->minSize.width : 240, // Width
|
||||||
120, // Height
|
(this->minSize.height) ? this->minSize.height: 120, // Height
|
||||||
parentHWND, // Parent
|
parentHWND, // Parent
|
||||||
NULL, // Menu
|
NULL, // Menu
|
||||||
hInstance, // Instance
|
hInstance, // Instance
|
||||||
|
Loading…
Reference in New Issue
Block a user