CanPaste() should be const too

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-11-14 23:23:16 +00:00
parent e4513a5eae
commit 7d6d76d093
3 changed files with 3 additions and 2 deletions

View File

@@ -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;
}