summaryrefslogtreecommitdiff
path: root/NxWidgets/libnxwidgets/src/cnxtoolbar.cxx
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-04-29 14:34:56 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-04-29 14:34:56 +0000
commit530e4e8173cbbdc299b7244ef5ba839f17b49556 (patch)
treea1b741f5bd64efb9dbae3d238b08072ebcc2883c /NxWidgets/libnxwidgets/src/cnxtoolbar.cxx
parente35aa390b0d57483b82638952ad62f3a7f5373b5 (diff)
downloadnuttx-530e4e8173cbbdc299b7244ef5ba839f17b49556.tar.gz
nuttx-530e4e8173cbbdc299b7244ef5ba839f17b49556.tar.bz2
nuttx-530e4e8173cbbdc299b7244ef5ba839f17b49556.zip
Fix STM32 USART4/5 vs UART4/5 confusion
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4671 42af7a65-404d-4744-a932-0658087f49c3
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