]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/headerctrl.h
Explicitly cast size_t to int to suppress MSVC warnings.
[wxWidgets.git] / include / wx / headerctrl.h
index 9555e26155dd5ee2acf846e31389101d7f2d3a13..08940d5b21170af70ccf791fcbdb70101962e727 100644 (file)
@@ -352,7 +352,10 @@ private:
     void Init();
 
     // bring the column count in sync with the number of columns we store
-    void UpdateColumnCount() { SetColumnCount(m_cols.size()); }
+    void UpdateColumnCount()
+    {
+        SetColumnCount(static_cast<int>(m_cols.size()));
+    }
 
 
     // all our current columns