provide overloads for all kinds of strings for wxDataFormat ctor to allow passing strings as formats implicitly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -58,7 +58,7 @@ wxDataFormat::wxDataFormat( wxDataFormatId type )
|
||||
SetType( type );
|
||||
}
|
||||
|
||||
wxDataFormat::wxDataFormat( const wxString &id )
|
||||
void wxDataFormat::InitFromString( const wxString &id )
|
||||
{
|
||||
PrepareFormats();
|
||||
SetId( id );
|
||||
|
||||
Reference in New Issue
Block a user