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