use wxString, not wxChar*, in wxDataFormat ctor and SetId() method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -137,7 +137,7 @@ private:
|
||||
// wxDataFormat
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
void wxDataFormat::SetId(const wxChar *format)
|
||||
void wxDataFormat::SetId(const wxString& format)
|
||||
{
|
||||
m_format = (wxDataFormat::NativeFormat)::RegisterClipboardFormat(format);
|
||||
if ( !m_format )
|
||||
|
Reference in New Issue
Block a user