diff --git a/examples/nx/nx_main.c b/examples/nx/nx_main.c index 9f90bf252..0b3142e84 100644 --- a/examples/nx/nx_main.c +++ b/examples/nx/nx_main.c @@ -220,7 +220,7 @@ static inline NXEGWINDOW nxeg_openwindow(FAR const struct nx_callback_s *cb, { NXEGWINDOW hwnd; - hwnd = nx_openwindow(g_hnx, cb, (FAR void *)state); + hwnd = nx_openwindow(g_hnx, 0, cb, (FAR void *)state); if (!hwnd) { printf("nxeg_openwindow: nx_openwindow failed: %d\n", errno); @@ -234,7 +234,7 @@ static inline NXEGWINDOW nxeg_openwindow(FAR const struct nx_callback_s *cb, { NXEGWINDOW hwnd; - hwnd = nxtk_openwindow(g_hnx, cb, (FAR void *)state); + hwnd = nxtk_openwindow(g_hnx, 0, cb, (FAR void *)state); if (!hwnd) { printf("nxeg_openwindow: nxtk_openwindow failed: %d\n", errno); diff --git a/examples/nxterm/nxterm_main.c b/examples/nxterm/nxterm_main.c index 1a56f6335..e80b64836 100644 --- a/examples/nxterm/nxterm_main.c +++ b/examples/nxterm/nxterm_main.c @@ -294,7 +294,7 @@ int nxterm_main(int argc, char **argv) /* Create a window */ printf("nxterm_main: Create window\n"); - g_nxterm_vars.hwnd = nxtk_openwindow(g_nxterm_vars.hnx, &g_nxtermcb, + g_nxterm_vars.hwnd = nxtk_openwindow(g_nxterm_vars.hnx, 0, &g_nxtermcb, NULL); if (!g_nxterm_vars.hwnd) { diff --git a/examples/nxtext/nxtext_popup.c b/examples/nxtext/nxtext_popup.c index 3f2d85ef4..0daccf42e 100644 --- a/examples/nxtext/nxtext_popup.c +++ b/examples/nxtext/nxtext_popup.c @@ -344,7 +344,7 @@ NXWINDOW nxpu_open(void) printf("nxpu_open: Create pop-up\n"); nxpu_initstate(); - hwnd = nx_openwindow(g_hnx, &g_pucb, (FAR void *)&g_pustate); + hwnd = nx_openwindow(g_hnx, 0, &g_pucb, (FAR void *)&g_pustate); ginfo("hwnd=%p\n", hwnd); if (!hwnd) diff --git a/graphics/NxWidgets/nxwidgets/src/cnxtkwindow.cxx b/graphics/NxWidgets/nxwidgets/src/cnxtkwindow.cxx index 0b7626c01..c7a4b05b0 100644 --- a/graphics/NxWidgets/nxwidgets/src/cnxtkwindow.cxx +++ b/graphics/NxWidgets/nxwidgets/src/cnxtkwindow.cxx @@ -120,7 +120,7 @@ bool CNxTkWindow::open(void) // Create the window - m_hNxTkWindow = nxtk_openwindow(m_hNxServer, vtable, + m_hNxTkWindow = nxtk_openwindow(m_hNxServer, 0, vtable, (FAR void *)static_cast(this)); return m_hNxTkWindow != NULL; } diff --git a/graphics/NxWidgets/nxwidgets/src/cnxwindow.cxx b/graphics/NxWidgets/nxwidgets/src/cnxwindow.cxx index 1d5fe6695..7385dfd60 100644 --- a/graphics/NxWidgets/nxwidgets/src/cnxwindow.cxx +++ b/graphics/NxWidgets/nxwidgets/src/cnxwindow.cxx @@ -105,7 +105,7 @@ bool CNxWindow::open(void) // Create the window - m_hNxWindow = nx_openwindow(m_hNxServer, vtable, + m_hNxWindow = nx_openwindow(m_hNxServer, 0, vtable, (FAR void *)static_cast(this)); return m_hNxWindow != NULL; } diff --git a/graphics/screenshot/screenshot_main.c b/graphics/screenshot/screenshot_main.c index 9460b555e..93dd02cb2 100644 --- a/graphics/screenshot/screenshot_main.c +++ b/graphics/screenshot/screenshot_main.c @@ -168,7 +168,7 @@ int save_screenshot(FAR const char *filename) /* Open invisible dummy window for communication */ - window = nx_openwindow(server, &cb, NULL); + window = nx_openwindow(server, 0, &cb, NULL); if (!window) { perror("nx_openwindow");