Reordered includes to have OS2EMX_PLAIN_CHAR defined prior to including os2.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -13,14 +13,15 @@
|
|||||||
#pragma implementation "dnd.h"
|
#pragma implementation "dnd.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define INCL_PM
|
|
||||||
#define INCL_DOS
|
|
||||||
#include <os2.h>
|
|
||||||
#include "wx/window.h"
|
#include "wx/window.h"
|
||||||
#include "wx/app.h"
|
#include "wx/app.h"
|
||||||
#include "wx/gdicmn.h"
|
#include "wx/gdicmn.h"
|
||||||
#include "wx/dnd.h"
|
#include "wx/dnd.h"
|
||||||
|
|
||||||
|
#define INCL_PM
|
||||||
|
#define INCL_DOS
|
||||||
|
#include <os2.h>
|
||||||
|
|
||||||
#if wxUSE_DRAG_AND_DROP
|
#if wxUSE_DRAG_AND_DROP
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
@@ -562,7 +563,7 @@ void wxDropSource::Init ()
|
|||||||
hStrContainer = ::DrgAddStrHandle(zContainer);
|
hStrContainer = ::DrgAddStrHandle(zContainer);
|
||||||
|
|
||||||
m_pDragItem = new DRAGITEM[m_ulItems];
|
m_pDragItem = new DRAGITEM[m_ulItems];
|
||||||
for (ULONG i = 0; i < m_ulItems; i++);
|
for (ULONG i = 0; i < m_ulItems; i++)
|
||||||
{
|
{
|
||||||
m_pDragItem[i].hwndItem = m_pWindow->GetHWND();
|
m_pDragItem[i].hwndItem = m_pWindow->GetHWND();
|
||||||
m_pDragItem[i].hstrType = hStrType;
|
m_pDragItem[i].hstrType = hStrType;
|
||||||
|
Reference in New Issue
Block a user