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