X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/148d83b59f6b0ad0d436305bdcb5c83489b19694..9de49b112f4d1c87f818ab9c62331dbb81f23937:/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