summaryrefslogtreecommitdiff
path: root/src/window.cpp
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2005-04-11 00:03:53 +0000
committerIan C <ianc@noddybox.co.uk>2005-04-11 00:03:53 +0000
commitf8ba03594573e8487927c236180ad5895e73db17 (patch)
tree7ca7b24be4ce8adb411bd74ec4c5fd27c8a360c7 /src/window.cpp
parent517295ea0928dfd2bd30d997949c472f68d22e06 (diff)
Some changes and added RadioButton
Diffstat (limited to 'src/window.cpp')
-rw-r--r--src/window.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/window.cpp b/src/window.cpp
index e64bd30..7f0d9d3 100644
--- a/src/window.cpp
+++ b/src/window.cpp
@@ -139,6 +139,8 @@ void Window::SetText(const char *text)
//
void Window::SetText(const std::string& text)
{
+ W32DEBUGOUT("WND=" << m_wnd << " SetText(" <<
+ EncodeCString(text.c_str()) << ")");
SetText(text.c_str());
}
@@ -155,6 +157,9 @@ std::string Window::GetText()
SendMsg(WM_GETTEXT,len+1,reinterpret_cast<LPARAM>(buff));
+ W32DEBUGOUT("WND=" << m_wnd << " GetText(" <<
+ EncodeCString(buff) << ")");
+
res=buff;
delete[] buff;