summaryrefslogtreecommitdiff
path: root/NxWidgets/nxwm/src/cnxconsole.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'NxWidgets/nxwm/src/cnxconsole.cxx')
-rw-r--r--NxWidgets/nxwm/src/cnxconsole.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/NxWidgets/nxwm/src/cnxconsole.cxx b/NxWidgets/nxwm/src/cnxconsole.cxx
index 8898b8bcb..5ee12d36f 100644
--- a/NxWidgets/nxwm/src/cnxconsole.cxx
+++ b/NxWidgets/nxwm/src/cnxconsole.cxx
@@ -153,9 +153,9 @@ CNxConsole::~CNxConsole(void)
* the contained CApplicationWindow instance.
*/
-CApplicationWindow *CNxConsole::getWindow(void) const
+IApplicationWindow *CNxConsole::getWindow(void) const
{
- return m_window;
+ return static_cast<IApplicationWindow*>(m_window);
}
/**
@@ -202,7 +202,7 @@ bool CNxConsole::run(void)
// Recover the NXTK window instance contained in the application window
- NXWidgets::CNxTkWindow *window = m_window->getWindow();
+ NXWidgets::INxWindow *window = m_window->getWindow();
// Get the widget control associated with the NXTK window
@@ -308,7 +308,7 @@ void CNxConsole::redraw(void)
{
// Recover the NXTK window instance contained in the application window
- NXWidgets::CNxTkWindow *window = m_window->getWindow();
+ NXWidgets::INxWindow *window = m_window->getWindow();
// Get the size of the window