Browse Source

test window-event async

Hongtae Kim 8 years ago
parent
commit
2c65406a70
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      TestApp1/TestApp1.cpp

+ 2
- 1
TestApp1/TestApp1.cpp View File

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();