| 298 | } |
| 299 | |
| 300 | void Window::SetText(const std::wstring& text) const { |
| 301 | SNDMSG(handle_, WM_SETTEXT, 0, reinterpret_cast<LPARAM>(text.c_str())); |
| 302 | } |
| 303 | |
| 304 | bool Window::IsChecked() const { |
| 305 | return IsEnabled() && Button_GetCheck(handle_) == BST_CHECKED; |