diff --git a/src/win32cpp/TopLevelWindow.cpp b/src/win32cpp/TopLevelWindow.cpp index 809a66414..0b435ad08 100644 --- a/src/win32cpp/TopLevelWindow.cpp +++ b/src/win32cpp/TopLevelWindow.cpp @@ -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