]> git.saurik.com Git - wxWidgets.git/blobdiff - src/stc/PlatWX.cpp
don't crash if one of GetAllCommands() parameters is NULL (coverity checker CID 11)
[wxWidgets.git] / src / stc / PlatWX.cpp
index 07566a804016ae1d4464453fee68375483ce98c7..81f172cd71c0c449f534dd379258fc7b0b51aa5b 100644 (file)
@@ -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));
 }