Applied #10858: wxListCtrl on Mac does not route Freeze/Thaw/Update to m_genericImpl

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2009-09-25 07:45:35 +00:00
parent 059d234d41
commit a74d082e8c
2 changed files with 25 additions and 0 deletions

View File

@@ -326,6 +326,10 @@ class WXDLLIMPEXP_CORE wxListCtrl: public wxControl
virtual bool SetBackgroundColour(const wxColour& colour);
virtual wxColour GetBackgroundColour() const;
virtual void Freeze ();
virtual void Thaw ();
virtual void Update ();
// functions for editing/timer
void OnRenameTimer();
bool OnRenameAccept(long itemEdit, const wxString& value);

View File

@@ -918,6 +918,27 @@ wxColour wxListCtrl::GetBackgroundColour() const
return wxNullColour;
}
void wxListCtrl::Freeze ()
{
if (m_genericImpl)
m_genericImpl->Freeze();
wxControl::Freeze();
}
void wxListCtrl::Thaw ()
{
if (m_genericImpl)
m_genericImpl->Thaw();
wxControl::Thaw();
}
void wxListCtrl::Update ()
{
if (m_genericImpl)
m_genericImpl->Update();
wxControl::Update();
}
// ----------------------------------------------------------------------------
// accessors
// ----------------------------------------------------------------------------