diff --git a/contrib/src/stc/PlatWX.cpp b/contrib/src/stc/PlatWX.cpp index 07566a8040..81f172cd71 100644 --- a/contrib/src/stc/PlatWX.cpp +++ b/contrib/src/stc/PlatWX.cpp @@ -601,7 +601,7 @@ void Window::SetCursor(Cursor curs) { void Window::SetTitle(const char *s) { - GETWIN(id)->SetTitle(stc2wx(s)); + GETWIN(id)->SetLabel(stc2wx(s)); } diff --git a/src/stc/PlatWX.cpp b/src/stc/PlatWX.cpp index 07566a8040..81f172cd71 100644 --- a/src/stc/PlatWX.cpp +++ b/src/stc/PlatWX.cpp @@ -601,7 +601,7 @@ void Window::SetCursor(Cursor curs) { void Window::SetTitle(const char *s) { - GETWIN(id)->SetTitle(stc2wx(s)); + GETWIN(id)->SetLabel(stc2wx(s)); }