FromDIP() shouldn't be used before the window is created and m_tabCtrlHeight was already initialized correctly in InitNotebook(), when it can be used, so simply remove this premature and redundant initialization.