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