summaryrefslogtreecommitdiff
path: root/NxWidgets/libnxwidgets/src/cnxwindow.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'NxWidgets/libnxwidgets/src/cnxwindow.cxx')
-rw-r--r--NxWidgets/libnxwidgets/src/cnxwindow.cxx12
1 files changed, 12 insertions, 0 deletions
diff --git a/NxWidgets/libnxwidgets/src/cnxwindow.cxx b/NxWidgets/libnxwidgets/src/cnxwindow.cxx
index fd4cc6ef2..599335972 100644
--- a/NxWidgets/libnxwidgets/src/cnxwindow.cxx
+++ b/NxWidgets/libnxwidgets/src/cnxwindow.cxx
@@ -104,6 +104,18 @@ bool CNxWindow::open(void)
}
/**
+ * Each implementation of INxWindow must provide a method to recover
+ * the contained CWidgetControl instance.
+ *
+ * @return The contained CWidgetControl instance
+ */
+
+CWidgetControl *CNxWindow::getWidgetControl(void) const
+{
+ return m_widgetControl;
+}
+
+/**
* Request the position and size information of the window. The values
* will be returned asynchronously through the client callback method.
* The GetPosition() method may than be called to obtain the positional