Fixed typos in frame and dialog,
Some improvemnts to DnD, It's no longer possible to close any frame if there is a dialog open. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -877,6 +877,11 @@ void DnDFrame::OnLeftDown(wxMouseEvent &WXUNUSED(event) )
|
||||
{
|
||||
// start drag operation
|
||||
wxTextDataObject textData(m_strText);
|
||||
/*
|
||||
wxFileDataObject textData;
|
||||
textData.AddFile( "/file1.txt" );
|
||||
textData.AddFile( "/file2.txt" );
|
||||
*/
|
||||
wxDropSource source(textData, this
|
||||
#ifdef __WXMSW__
|
||||
,wxCURSOR_PENCIL, // for copy
|
||||
|
Reference in New Issue
Block a user