Changed files to work with wxDataFormat
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -455,7 +455,7 @@ void wxTextCtrl::Replace(long from, long to, const wxString& value)
|
||||
SendMessage(hWnd, WM_CUT, (WPARAM)0, (LPARAM)0);
|
||||
|
||||
// Now replace with 'value', by pasting.
|
||||
wxSetClipboardData(wxCF_TEXT, (wxObject *) (const char *)value, 0, 0);
|
||||
wxSetClipboardData(wxDF_TEXT, (wxObject *) (const char *)value, 0, 0);
|
||||
|
||||
// Paste into edit control
|
||||
SendMessage(hWnd, WM_PASTE, (WPARAM)0, (LPARAM)0L);
|
||||
|
Reference in New Issue
Block a user