Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
7bfe288d
Kaydet (Commit)
7bfe288d
authored
Haz 09, 2015
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
WaE: 'convertScreenToBase:' is deprecated: first deprecated in OS X 10.7
Change-Id: Ic25e9aca7a2a61ac677720427fae7a18a8a179fa
üst
6c2f65df
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
DropTarget.cxx
vcl/osx/DropTarget.cxx
+3
-3
No files found.
vcl/osx/DropTarget.cxx
Dosyayı görüntüle @
7bfe288d
...
...
@@ -204,7 +204,7 @@ NSDragOperation DropTarget::draggingEntered(id sender)
NSPoint
mouseLoc
=
[
NSEvent
mouseLocation
];
id
wnd
=
[
mView
window
];
NSPoint
dragLocation
=
[
mView
convertPoint
:
[
wnd
convert
ScreenToBase
:
mouseLoc
]
fromView
:
nil
];
NSPoint
dragLocation
=
[
mView
convertPoint
:
[
wnd
convert
RectFromScreen
:
NSMakeRect
(
mouseLoc
.
x
,
mouseLoc
.
y
,
1
,
1
)].
origin
fromView
:
nil
];
CocoaToVCL
(
dragLocation
,
bounds
);
...
...
@@ -245,7 +245,7 @@ NSDragOperation DropTarget::draggingUpdated(id sender)
NSPoint
mouseLoc
=
[
NSEvent
mouseLocation
];
id
wnd
=
[
mView
window
];
NSPoint
dragLocation
=
[
mView
convertPoint
:
[
wnd
convert
ScreenToBase
:
mouseLoc
]
fromView
:
nil
];
NSPoint
dragLocation
=
[
mView
convertPoint
:
[
wnd
convert
RectFromScreen
:
NSMakeRect
(
mouseLoc
.
x
,
mouseLoc
.
y
,
1
,
1
)].
origin
fromView
:
nil
];
CocoaToVCL
(
dragLocation
,
bounds
);
...
...
@@ -311,7 +311,7 @@ BOOL DropTarget::performDragOperation()
NSPoint
mouseLoc
=
[
NSEvent
mouseLocation
];
id
wnd
=
[
mView
window
];
NSPoint
dragLocation
=
[
mView
convertPoint
:
[
wnd
convert
ScreenToBase
:
mouseLoc
]
fromView
:
nil
];
NSPoint
dragLocation
=
[
mView
convertPoint
:
[
wnd
convert
RectFromScreen
:
NSMakeRect
(
mouseLoc
.
x
,
mouseLoc
.
y
,
1
,
1
)].
origin
fromView
:
nil
];
CocoaToVCL
(
dragLocation
,
bounds
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment