summaryrefslogtreecommitdiff
path: root/NxWidgets/libnxwidgets/include/cnxserver.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'NxWidgets/libnxwidgets/include/cnxserver.hxx')
-rw-r--r--NxWidgets/libnxwidgets/include/cnxserver.hxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/NxWidgets/libnxwidgets/include/cnxserver.hxx b/NxWidgets/libnxwidgets/include/cnxserver.hxx
index 2c79558a0..3043fd9e0 100644
--- a/NxWidgets/libnxwidgets/include/cnxserver.hxx
+++ b/NxWidgets/libnxwidgets/include/cnxserver.hxx
@@ -48,6 +48,7 @@
#include <nuttx/nx/nx.h>
#include "cnxwindow.hxx"
+#include "cnxtkwindow.hxx"
#include "cbgwindow.hxx"
/****************************************************************************
@@ -176,12 +177,10 @@ namespace NXWidgets
* Get an instance of the framed NX window.
*/
-#if 0 // Not ready for prime time
- inline CFramedWindow *createFramedWindow(CWidgetControl *widgetControl)
+ inline CNxTkWindow *createFramedWindow(CWidgetControl *widgetControl)
{
- return new CFramedWindow(m_hNxServer, widgetControl);
+ return new CNxTkWindow(m_hNxServer, widgetControl);
}
-#endif
/**
* Get an instance of the background window.