summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'src/test')
-rw-r--r--src/test/w32dtst.cpp7
1 files changed, 4 insertions, 3 deletions
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;
}