projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove extraneous returns
[wxWidgets.git]
/
src
/
os2
/
dnd.cpp
diff --git
a/src/os2/dnd.cpp
b/src/os2/dnd.cpp
index 9100811fc9b6c2459e25e527a30662dd0d221956..3a968d35869f5b04dc663798a73cc2f622b57f12 100644
(file)
--- a/
src/os2/dnd.cpp
+++ b/
src/os2/dnd.cpp
@@
-14,11
+14,14
@@
#if wxUSE_DRAG_AND_DROP
#if wxUSE_DRAG_AND_DROP
-#include "wx/window.h"
-#include "wx/app.h"
-#include "wx/gdicmn.h"
#include "wx/dnd.h"
#include "wx/dnd.h"
+#ifndef WX_PRECOMP
+ #include "wx/app.h"
+ #include "wx/window.h"
+ #include "wx/gdicmn.h"
+#endif
+
#define INCL_PM
#define INCL_DOS
#include <os2.h>
#define INCL_PM
#define INCL_DOS
#include <os2.h>
@@
-384,7
+387,7
@@
wxDataFormat wxDropTarget::GetSupportedFormat (
for (i = 0; i < ulItems; i++)
{
pDragItem = ::DrgQueryDragitemPtr(pDataSource, i);
for (i = 0; i < ulItems; i++)
{
pDragItem = ::DrgQueryDragitemPtr(pDataSource, i);
- if (::DrgVerifyRMF(pDragItem,
(PSZ)sMechanism.c_str(), (PSZ)
sFormat.c_str()))
+ if (::DrgVerifyRMF(pDragItem,
sMechanism.c_str(),
sFormat.c_str()))
{
bValid = true;
break;
{
bValid = true;
break;