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
62c125bb
Kaydet (Commit)
62c125bb
authored
Eki 29, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Resolves: rhbz#1146169 a11y frames label dies before frame
Change-Id: Ie5650c3a5593dcf68196802169c47270a0c3b0e6
üst
591d4559
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
1 deletion
+13
-1
layout.hxx
include/vcl/layout.hxx
+1
-0
layout.cxx
vcl/source/window/layout.cxx
+12
-1
No files found.
include/vcl/layout.hxx
Dosyayı görüntüle @
62c125bb
...
...
@@ -459,6 +459,7 @@ private:
private
:
friend
class
VclBuilder
;
void
designate_label
(
vcl
::
Window
*
pWindow
);
DECL_LINK
(
WindowEventListener
,
VclSimpleEvent
*
);
public
:
VclFrame
(
vcl
::
Window
*
pParent
)
:
VclBin
(
pParent
)
...
...
vcl/source/window/layout.cxx
Dosyayı görüntüle @
62c125bb
...
...
@@ -1340,10 +1340,21 @@ void VclFrame::setAllocation(const Size &rAllocation)
setLayoutAllocation
(
*
pChild
,
aChildPos
,
aAllocation
);
}
IMPL_LINK
(
VclFrame
,
WindowEventListener
,
VclSimpleEvent
*
,
pEvent
)
{
if
(
pEvent
&&
pEvent
->
GetId
()
==
VCLEVENT_OBJECT_DYING
)
designate_label
(
NULL
);
return
0
;
}
void
VclFrame
::
designate_label
(
vcl
::
Window
*
pWindow
)
{
assert
(
pWindow
->
GetParent
()
==
this
);
assert
(
!
pWindow
||
pWindow
->
GetParent
()
==
this
);
if
(
m_pLabel
)
m_pLabel
->
RemoveEventListener
(
LINK
(
this
,
VclFrame
,
WindowEventListener
));
m_pLabel
=
pWindow
;
if
(
m_pLabel
)
m_pLabel
->
AddEventListener
(
LINK
(
this
,
VclFrame
,
WindowEventListener
));
}
const
vcl
::
Window
*
VclFrame
::
get_label_widget
()
const
...
...
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