From 72f0c86eb3ecdda4cab53213302fad645bc571f0 Mon Sep 17 00:00:00 2001 From: Ian C Date: Fri, 25 Mar 2005 01:23:52 +0000 Subject: Cleaned up a bit by adding a base Window class. --- src/test/w32dtst.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/test') diff --git a/src/test/w32dtst.cpp b/src/test/w32dtst.cpp index 984df33..6ce87d1 100644 --- a/src/test/w32dtst.cpp +++ b/src/test/w32dtst.cpp @@ -59,7 +59,7 @@ public: { std::cout << "OnInit()" << std::endl; m_text.SetText("Hello"); - m_check.SetState(W32DLib::AutoCheck::eIndeterminate); + m_check.SetState(W32DLib::AutoCheck::eChecked); m_quit.Enable(true); } @@ -85,7 +85,7 @@ private: std::cout << "text=" << txt << std::endl; std::cout << "check=" << m_check.GetState() << std::endl; m_static.SetText(txt.c_str()); - SetTitle((txt+" [Title]").c_str()); + SetText((txt+" [Title]").c_str()); return TRUE; } @@ -95,7 +95,8 @@ private: std::cout << "Called OnCheck() - state " << state << std::endl; - m_quit.Enable(state==W32DLib::AutoCheck::eChecked); + //m_quit.Enable(state==W32DLib::AutoCheck::eChecked); + Enable(state==W32DLib::AutoCheck::eChecked); return TRUE; } -- cgit v1.2.3