forward Freeze/Thaw() and Update() to the generic list control (see #10858)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -326,6 +326,12 @@ class WXDLLEXPORT wxListCtrl: public wxControl
|
|||||||
virtual bool SetBackgroundColour(const wxColour& colour);
|
virtual bool SetBackgroundColour(const wxColour& colour);
|
||||||
virtual wxColour GetBackgroundColour() const;
|
virtual wxColour GetBackgroundColour() const;
|
||||||
|
|
||||||
|
#if wxABI_VERSION >= 20811
|
||||||
|
virtual void Freeze ();
|
||||||
|
virtual void Thaw ();
|
||||||
|
virtual void Update ();
|
||||||
|
#endif
|
||||||
|
|
||||||
// functions for editing/timer
|
// functions for editing/timer
|
||||||
void OnRenameTimer();
|
void OnRenameTimer();
|
||||||
bool OnRenameAccept(long itemEdit, const wxString& value);
|
bool OnRenameAccept(long itemEdit, const wxString& value);
|
||||||
|
@@ -927,6 +927,27 @@ wxColour wxListCtrl::GetBackgroundColour() const
|
|||||||
return wxNullColour;
|
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
|
// accessors
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
Reference in New Issue
Block a user