BUGFIX: Fixed Window Centering for new TopLevelWindows

This commit is contained in:
andre@woesten.com 2008-11-05 23:12:16 +00:00
parent 841079be0d
commit e1c554bd40

View File

@ -119,8 +119,8 @@ HWND TopLevelWindow::Create(Window* parent)
style, // Style
CW_USEDEFAULT, // X
CW_USEDEFAULT, // Y
240, // Width
120, // Height
(this->minSize.width) ? this->minSize.width : 240, // Width
(this->minSize.height) ? this->minSize.height: 120, // Height
parentHWND, // Parent
NULL, // Menu
hInstance, // Instance