summaryrefslogtreecommitdiff
path: root/cppe/demo/IceE/chat/ChatClient.cpp
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2005-07-14 13:18:04 +0000
committerDwayne Boone <dwayne@zeroc.com>2005-07-14 13:18:04 +0000
commit8c0e1c0732df3800464e09d57739ac39f64ee517 (patch)
tree605c86eebc89c335d886d5c760d3528fb139a5d6 /cppe/demo/IceE/chat/ChatClient.cpp
parentFix bug with slicing tests. (diff)
downloadice-8c0e1c0732df3800464e09d57739ac39f64ee517.tar.bz2
ice-8c0e1c0732df3800464e09d57739ac39f64ee517.tar.xz
ice-8c0e1c0732df3800464e09d57739ac39f64ee517.zip
Add new dialog
Diffstat (limited to 'cppe/demo/IceE/chat/ChatClient.cpp')
-rw-r--r--cppe/demo/IceE/chat/ChatClient.cpp19
1 files changed, 15 insertions, 4 deletions
diff --git a/cppe/demo/IceE/chat/ChatClient.cpp b/cppe/demo/IceE/chat/ChatClient.cpp
index 553ce8dcdbb..1362b3fa930 100644
--- a/cppe/demo/IceE/chat/ChatClient.cpp
+++ b/cppe/demo/IceE/chat/ChatClient.cpp
@@ -11,6 +11,7 @@
#include "stdafx.h"
#include "ChatClient.h"
#include "ChatClientDlg.h"
+#include "ChatConfigDlg.h"
#include "Router.h"
#include "Chat.h"
#include "LogI.h"
@@ -125,13 +126,23 @@ BOOL CChatClientApp::InitInstance()
}
//
- // Create the dialog.
+ // Create the config dialog.
//
- CChatClientDlg dlg(communicator, session, log);
+ CChatConfigDlg cfgdlg(communicator, session, log);
//
- // Show dialog and wait until it is closed, or until the servant receives
- // a shutdown request.
+ // Show dialog and wait until it is closed.
+ //
+ m_pMainWnd = &cfgdlg;
+ cfgdlg.DoModal();
+
+ //
+ // Create the main dialog.
+ //
+ CChatClientDlg dlg(communicator, session, log);
+
+ //
+ // Show dialog and wait until it is closed.
//
m_pMainWnd = &dlg;
dlg.DoModal();