diff options
author | crupest <crupest@outlook.com> | 2021-11-20 23:02:54 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-11-20 23:02:54 +0800 |
commit | 2b28ec296fdc72050569b9fedc1664ada7791497 (patch) | |
tree | 03675b5ca035256b3092657792e5004dde497111 /src/osx/gui/UiApplication.mm | |
parent | a60910cb3db6f47fd8f3b7f31648a9d0514d4f2c (diff) | |
download | cru-2b28ec296fdc72050569b9fedc1664ada7791497.tar.gz cru-2b28ec296fdc72050569b9fedc1664ada7791497.tar.bz2 cru-2b28ec296fdc72050569b9fedc1664ada7791497.zip |
...
Diffstat (limited to 'src/osx/gui/UiApplication.mm')
-rw-r--r-- | src/osx/gui/UiApplication.mm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/osx/gui/UiApplication.mm b/src/osx/gui/UiApplication.mm index 865111ba..a3c9acd5 100644 --- a/src/osx/gui/UiApplication.mm +++ b/src/osx/gui/UiApplication.mm @@ -155,8 +155,8 @@ std::vector<INativeWindow*> OsxUiApplication::GetAllWindow() { return result; } -INativeWindow* OsxUiApplication::CreateWindow(INativeWindow* parent, CreateWindowFlag flags) { - auto window = new OsxWindow(this, parent, !(flags & CreateWindowFlags::NoCaptionAndBorder)); +INativeWindow* OsxUiApplication::CreateWindow() { + auto window = new OsxWindow(this); p_->windows_.push_back(window); return window; } |