Remove premature wxAuiNotebook::m_tabCtrlHeight initialization

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.
This commit is contained in:
Vadim Zeitlin
2022-03-19 22:36:21 +01:00
parent a00b0336a1
commit 104b8461d8

View File

@@ -1713,7 +1713,6 @@ void wxAuiNotebook::Init()
m_curPage = -1;
m_tabIdCounter = wxAuiBaseTabCtrlId;
m_dummyWnd = NULL;
m_tabCtrlHeight = FromDIP(20);
m_requestedBmpSize = wxDefaultSize;
m_requestedTabCtrlHeight = -1;
}