소스 검색

test window-event async

Hongtae Kim 9 년 전
부모
커밋
2c65406a70
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2
    1
      TestApp1/TestApp1.cpp

+ 2
- 1
TestApp1/TestApp1.cpp 파일 보기

15
 	void OnInitialize(void) override
15
 	void OnInitialize(void) override
16
 	{
16
 	{
17
 		DKLog("%s", DKGL_FUNCTION_NAME);
17
 		DKLog("%s", DKGL_FUNCTION_NAME);
18
-		window = DKWindow::Create("DefaultWindow");
18
+		window = DKWindow::Create("DefaultWindow", DKWindow::StyleGenericWindow, this->EventLoop());
19
 		window->Activate();
19
 		window->Activate();
20
 
20
 
21
 		window->AddEventHandler(this,
21
 		window->AddEventHandler(this,
76
 int main(int argc, const char * argv[])
76
 int main(int argc, const char * argv[])
77
 #endif
77
 #endif
78
 {
78
 {
79
+	DKPropertySet::SystemConfig().SetValue("DisableWindowKey", 1LL);
79
 	TestApp1 app;
80
 	TestApp1 app;
80
 	DKPropertySet::SystemConfig().SetValue("AppDelegate", "AppDelegate");
81
 	DKPropertySet::SystemConfig().SetValue("AppDelegate", "AppDelegate");
81
 	return app.Run();
82
 	return app.Run();