summaryrefslogtreecommitdiff
path: root/NxWidgets/libnxwidgets/include/cnxtkwindow.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'NxWidgets/libnxwidgets/include/cnxtkwindow.hxx')
-rw-r--r--NxWidgets/libnxwidgets/include/cnxtkwindow.hxx11
1 files changed, 10 insertions, 1 deletions
diff --git a/NxWidgets/libnxwidgets/include/cnxtkwindow.hxx b/NxWidgets/libnxwidgets/include/cnxtkwindow.hxx
index ed2ecdbd2..b6915a6c1 100644
--- a/NxWidgets/libnxwidgets/include/cnxtkwindow.hxx
+++ b/NxWidgets/libnxwidgets/include/cnxtkwindow.hxx
@@ -102,7 +102,7 @@ namespace NXWidgets
* 3) The window constructor call CWidgetControl methods to "smarten"
* the CWidgetControl instance with window-specific knowledge.
* 4) Call the open() method on the window to display the window.
- * 5) After that, the fully smartend CWidgetControl instance can
+ * 5) After that, the fully smartened CWidgetControl instance can
* be used to generate additional widgets.
* 6) After that, the fully smartened CWidgetControl instance can
* be used to generate additional widgets by passing it to the
@@ -130,6 +130,15 @@ namespace NXWidgets
bool open(void);
/**
+ * Each implementation of INxWindow must provide a method to recover
+ * the contained CWidgetControl instance.
+ *
+ * @return The contained CWidgetControl instance
+ */
+
+ CWidgetControl *getWidgetControl(void) const;
+
+ /**
* Open a toolbar on the framed window. Toolbar creation is separate
* from object instantion so that errors can be reported
*