X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/03e11df5470fd64d9d9a669d0b50b84c2d714736..72a52d3f4ec36e1767e284cb81fe24cf32441a1d:/include/wx/mac/dnd.h diff --git a/include/wx/mac/dnd.h b/include/wx/mac/dnd.h index 4a1295fd1e..2b0f35375d 100644 --- a/include/wx/mac/dnd.h +++ b/include/wx/mac/dnd.h @@ -156,7 +156,7 @@ class WXDLLEXPORT wxDropTarget: public wxObject virtual void OnEnter() { } virtual void OnLeave() { } - virtual bool OnDrop( long x, long y, const void *pData ) = 0; + virtual bool OnDrop( wxCoord x, wxCoord y, const void *pData ) = 0; // protected: @@ -178,8 +178,8 @@ class WXDLLEXPORT wxTextDropTarget: public wxDropTarget public: wxTextDropTarget() {}; - virtual bool OnDrop( long x, long y, const void *pData ); - virtual bool OnDropText( long x, long y, const char *psz ); + virtual bool OnDrop( wxCoord x, wxCoord y, const void *pData ); + virtual bool OnDropText( wxCoord x, wxCoord y, const char *psz ); protected: @@ -197,8 +197,8 @@ class WXDLLEXPORT wxFileDropTarget: public wxDropTarget wxFileDropTarget() {}; - virtual bool OnDrop(long x, long y, const void *pData); - virtual bool OnDropFiles( long x, long y, + virtual bool OnDrop(wxCoord x, wxCoord y, const void *pData); + virtual bool OnDropFiles( wxCoord x, wxCoord y, size_t nFiles, const char * const aszFiles[]); protected: