diff options
Diffstat (limited to 'src/window.cpp')
-rw-r--r-- | src/window.cpp | 5 |
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; |