little doc updates
removed GTK 1.0 Drag'n'Drop added (const char*) constructor to wxDataFormat added -I pointing to embedded /png and /jpeg dirs corrected frame/dialog resizing git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -44,6 +44,12 @@ wxDataFormat::wxDataFormat( wxDataType type )
|
||||
SetType( type );
|
||||
}
|
||||
|
||||
wxDataFormat::wxDataFormat( const char *id )
|
||||
{
|
||||
if (!g_textAtom) g_textAtom = gdk_atom_intern( "STRING", FALSE );
|
||||
SetId( id );
|
||||
}
|
||||
|
||||
wxDataFormat::wxDataFormat( const wxString &id )
|
||||
{
|
||||
if (!g_textAtom) g_textAtom = gdk_atom_intern( "STRING", FALSE );
|
||||
@@ -121,7 +127,7 @@ wxString wxDataFormat::GetId() const
|
||||
return m_id;
|
||||
}
|
||||
|
||||
void wxDataFormat::SetId( const wxString &id )
|
||||
void wxDataFormat::SetId( const char *id )
|
||||
{
|
||||
m_type = wxDF_PRIVATE;
|
||||
m_id = id;
|
||||
|
Reference in New Issue
Block a user