Renamed .nt makefiles to .vc and factored them out; made DND sample compile

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
1999-01-24 19:13:55 +00:00
parent d134d2d49f
commit 48d1144bc4
127 changed files with 1123 additions and 3354 deletions

View File

@@ -308,8 +308,10 @@ void DnDFrame::OnLeftDown(wxMouseEvent &WXUNUSED(event) )
if ( !m_strText.IsEmpty() )
{
// start drag operation
wxTextDataObject textData(m_strText);
wxDropSource dragSource( textData, this );
wxDropSource dragSource( new wxTextDataObject (m_strText), this );
// wxDropSource dragSource( new wxTextDataObject (m_strText), this );
const char *pc;
switch ( dragSource.DoDragDrop(TRUE) )