X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fa70ec2b51af8dfab9053ec57757a883c93d6712..8caabedb27e0a1a35bbc392b84a92285e56ca6e3:/src/stc/stc.cpp diff --git a/src/stc/stc.cpp b/src/stc/stc.cpp index 2b01d9033f..5188b94c77 100644 --- a/src/stc/stc.cpp +++ b/src/stc/stc.cpp @@ -53,7 +53,7 @@ //---------------------------------------------------------------------- -const wxChar* wxSTCNameStr = wxT("stcwindow"); +const char wxSTCNameStr[] = "stcwindow"; #ifdef MAKELONG #undef MAKELONG @@ -1569,7 +1569,7 @@ void wxStyledTextCtrl::SetReadOnly(bool readOnly) } // Will a paste succeed? -bool wxStyledTextCtrl::CanPaste() +bool wxStyledTextCtrl::CanPaste() const { return SendMsg(2173, 0, 0) != 0; }