compilation in Unicode mode works with VC++
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2640,10 +2640,13 @@ bool wxWindow::HandleDropFiles(WXWPARAM wParam)
|
||||
DragQueryPoint(hFilesInfo, (LPPOINT) &dropPoint);
|
||||
|
||||
// Get the total number of files dropped
|
||||
WORD gwFilesDropped = (WORD)DragQueryFile ((HDROP)hFilesInfo,
|
||||
(UINT)-1,
|
||||
(LPSTR)0,
|
||||
(UINT)0);
|
||||
WORD gwFilesDropped = (WORD)::DragQueryFile
|
||||
(
|
||||
(HDROP)hFilesInfo,
|
||||
(UINT)-1,
|
||||
(LPTSTR)0,
|
||||
(UINT)0
|
||||
);
|
||||
|
||||
wxString *files = new wxString[gwFilesDropped];
|
||||
int wIndex;
|
||||
|
Reference in New Issue
Block a user