]> git.saurik.com Git - wxWidgets.git/commitdiff
Applied #10858: wxListCtrl on Mac does not route Freeze/Thaw/Update to m_genericImpl
authorJulian Smart <julian@anthemion.co.uk>
Fri, 25 Sep 2009 07:45:35 +0000 (07:45 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Fri, 25 Sep 2009 07:45:35 +0000 (07:45 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/osx/listctrl.h
src/osx/carbon/listctrl_mac.cpp

index 88520f0376011e7e51551d74de17c85f5e4897f4..888051597685acbbb4826e4b66fbf654ec457539 100644 (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);
index 987458a164e7966338b98b89b4618b2dfe58071f..b2a83f92ce6baa3ab929862400be07bab1176384 100644 (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
 // ----------------------------------------------------------------------------