projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Made ico files binary
[wxWidgets.git]
/
src
/
mac
/
carbon
/
dnd.cpp
diff --git
a/src/mac/carbon/dnd.cpp
b/src/mac/carbon/dnd.cpp
index 6923ddf3e6e7df6e9c0764fd0173343ddbaa4b46..ad21b7ffc54ec641afe4068d75aa9fe1a041a8e2 100644
(file)
--- a/
src/mac/carbon/dnd.cpp
+++ b/
src/mac/carbon/dnd.cpp
@@
-9,11
+9,11
@@
// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
-#if
def __GNUG__
+#if
defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma implementation "dnd.h"
#endif
#pragma implementation "dnd.h"
#endif
-#include "wx/
defs
.h"
+#include "wx/
wxprec
.h"
#if wxUSE_DRAG_AND_DROP
#if wxUSE_DRAG_AND_DROP
@@
-479,10
+479,10
@@
pascal OSErr wxMacWindowDragTrackingHandler(DragTrackingMessage theMessage, Wind
// if (attributes & kDragHasLeftSenderWindow)
{
// if (attributes & kDragHasLeftSenderWindow)
{
- wxPoint point(localMouse.h , localMouse.v) ;
+
//
wxPoint point(localMouse.h , localMouse.v) ;
wxWindow *win = NULL ;
ControlPartCode controlPart ;
wxWindow *win = NULL ;
ControlPartCode controlPart ;
- ControlRef control = wxMacFindControlUnderMouse( localMouse ,
+ ControlRef control = wxMacFindControlUnderMouse(
toplevel ,
localMouse ,
theWindow , &controlPart ) ;
if ( control )
win = wxFindControlFromMacControl( control ) ;
theWindow , &controlPart ) ;
if ( control )
win = wxFindControlFromMacControl( control ) ;