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:
Vadim Zeitlin
2007-06-04 12:50:43 +00:00
parent 0a7ce61e65
commit 45344b3880
4 changed files with 23 additions and 4 deletions

View File

@@ -58,7 +58,7 @@ wxDataFormat::wxDataFormat( wxDataFormatId type )
SetType( type );
}
wxDataFormat::wxDataFormat( const wxString &id )
void wxDataFormat::InitFromString( const wxString &id )
{
PrepareFormats();
SetId( id );