From 4c8cea53df67d039bf04cd54aa65be6fbe1cf3eb Mon Sep 17 00:00:00 2001 From: David Capello Date: Mon, 1 Jun 2015 14:32:51 -0300 Subject: [PATCH] Change Window::setText -> setTitle --- src/she/skia/skia_display.cpp | 2 +- src/she/win/window.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/she/skia/skia_display.cpp b/src/she/skia/skia_display.cpp index 57ee4fb46..217385e7e 100644 --- a/src/she/skia/skia_display.cpp +++ b/src/she/skia/skia_display.cpp @@ -110,7 +110,7 @@ bool SkiaDisplay::isMaximized() const void SkiaDisplay::setTitleBar(const std::string& title) { - m_window.setText(title); + m_window.setTitle(title); } NativeCursor SkiaDisplay::nativeMouseCursor() diff --git a/src/she/win/window.h b/src/she/win/window.h index 26ce21648..692809029 100644 --- a/src/she/win/window.h +++ b/src/she/win/window.h @@ -78,8 +78,8 @@ namespace she { return m_restoredSize; } - void setText(const std::string& text) { - SetWindowText(m_hwnd, base::from_utf8(text).c_str()); + void setTitle(const std::string& title) { + SetWindowText(m_hwnd, base::from_utf8(title).c_str()); } void captureMouse() {