summaryrefslogtreecommitdiff
path: root/NxWidgets/libnxwidgets/src/cbgwindow.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'NxWidgets/libnxwidgets/src/cbgwindow.cxx')
-rw-r--r--NxWidgets/libnxwidgets/src/cbgwindow.cxx12
1 files changed, 12 insertions, 0 deletions
diff --git a/NxWidgets/libnxwidgets/src/cbgwindow.cxx b/NxWidgets/libnxwidgets/src/cbgwindow.cxx
index 08ae584b8..58ecc1f51 100644
--- a/NxWidgets/libnxwidgets/src/cbgwindow.cxx
+++ b/NxWidgets/libnxwidgets/src/cbgwindow.cxx
@@ -114,6 +114,18 @@ bool CBgWindow::open(void)
}
/**
+ * Each implementation of INxWindow must provide a method to recover
+ * the contained CWidgetControl instance.
+ *
+ * @return The contained CWidgetControl instance
+ */
+
+CWidgetControl *CBgWindow::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