]> git.saurik.com Git - wxWidgets.git/commitdiff
wxHeaderColumnBase -> wxHeaderColumn; Fixed UpdateColumnWidthToFit() sample code
authorJaakko Salli <jaakko.salli@dnainternet.net>
Sat, 12 Dec 2009 12:24:28 +0000 (12:24 +0000)
committerJaakko Salli <jaakko.salli@dnainternet.net>
Sat, 12 Dec 2009 12:24:28 +0000 (12:24 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

interface/wx/headerctrl.h

index 73142a1959d99a40973a188324ff6591e5ce089d..2fa85f5e8aa0a81ef7782f50769a92eafc583d24 100644 (file)
@@ -383,7 +383,7 @@ protected:
             The column index, between 0 and the value last passed to
             SetColumnCount().
      */
             The column index, between 0 and the value last passed to
             SetColumnCount().
      */
-    virtual const wxHeaderColumnBase& GetColumn(unsigned int idx) const = 0;
+    virtual const wxHeaderColumn& GetColumn(unsigned int idx) const = 0;
 
     /**
         Method called when the column visibility is changed by the user.
 
     /**
         Method called when the column visibility is changed by the user.
@@ -439,7 +439,7 @@ protected:
         to fit its width on header double click you need to implement this
         method using logic similar to this example:
         @code
         to fit its width on header double click you need to implement this
         method using logic similar to this example:
         @code
-            class MyHeaderCtrl : public wxHeaderColumnBase
+            class MyHeaderColumn : public wxHeaderColumn
             {
             public:
                 ...
             {
             public:
                 ...
@@ -455,7 +455,7 @@ protected:
             {
             public:
             protected:
             {
             public:
             protected:
-                virtual wxHeaderColumnBase& GetColumn(unsigned int idx) const
+                virtual wxHeaderColumn& GetColumn(unsigned int idx) const
                 {
                     return m_cols[idx];
                 }
                 {
                     return m_cols[idx];
                 }