diff options
author | Ian C <ianc@noddybox.co.uk> | 2005-03-25 01:23:52 +0000 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2005-03-25 01:23:52 +0000 |
commit | 72f0c86eb3ecdda4cab53213302fad645bc571f0 (patch) | |
tree | a78b285260bc369da116c1d98e4f5daa9f2441f9 /src/test/w32dtst.cpp | |
parent | 2d704117349864405f1c749b40bdd9d6f819ca03 (diff) |
Cleaned up a bit by adding a base Window class.
Diffstat (limited to 'src/test/w32dtst.cpp')
-rw-r--r-- | src/test/w32dtst.cpp | 7 |
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; } |