summaryrefslogtreecommitdiff
path: root/examples/Misc/test_XtReactor2.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1996-11-28 07:14:18 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1996-11-28 07:14:18 +0000
commitcdeedf87b106854013dd8b2aefaaacd83a37c2b1 (patch)
treeb679cecc050588c642722e7dffd780ed81a442eb /examples/Misc/test_XtReactor2.cpp
parent202b4d050bf2a57c3bf6473a8c5cf8afd65ed5f7 (diff)
downloadATCD-cdeedf87b106854013dd8b2aefaaacd83a37c2b1.tar.gz
yow
Diffstat (limited to 'examples/Misc/test_XtReactor2.cpp')
-rw-r--r--examples/Misc/test_XtReactor2.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/Misc/test_XtReactor2.cpp b/examples/Misc/test_XtReactor2.cpp
index 679ea81b758..b43f1eca4f2 100644
--- a/examples/Misc/test_XtReactor2.cpp
+++ b/examples/Misc/test_XtReactor2.cpp
@@ -8,6 +8,7 @@
#include "ace/Message_Block.h"
#if defined (ACE_HAS_XT)
+#define String XtString
#include <Xm/PushB.h>
class Stdin : public ACE_Event_Handler
@@ -44,8 +45,8 @@ int main (int argc, char**argv)
XtManageChild (button);
XtAddCallback (button, XmNactivateCallback, ActivateCB, NULL);
- // A reactor beastie
- XtReactor reactor (XtWidgetToApplicationContext (top_level));
+ // A reactor beastie.
+ ACE_XtReactor reactor (XtWidgetToApplicationContext (top_level));
// Print a message when data is recv'd on stdin...
ACE_Event_Handler * stdin_ = new Stdin;