X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5313727812e1636f4c4aeceea3f9e93d01cfce43..c564ca3c975aba89f8b911ace0f240c0aaf4cf73:/include/wx/headerctrl.h diff --git a/include/wx/headerctrl.h b/include/wx/headerctrl.h index 9555e26155..08940d5b21 100644 --- a/include/wx/headerctrl.h +++ b/include/wx/headerctrl.h @@ -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(m_cols.size())); + } // all our current columns