From b3d6901f566d50604fffb9dfaef574bdc2131810 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sat, 9 May 2020 22:23:42 -0400 Subject: [PATCH] CGuiPane: Make static resolving of virtual function in ctor explicit virtual functions statically resolve in the constructor and destructor. This makes it explicit to the user that this static resolving behavior is indeed what is intended --- Runtime/GuiSys/CGuiPane.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Runtime/GuiSys/CGuiPane.cpp b/Runtime/GuiSys/CGuiPane.cpp index 5cd7658a5..86abb0467 100644 --- a/Runtime/GuiSys/CGuiPane.cpp +++ b/Runtime/GuiSys/CGuiPane.cpp @@ -4,7 +4,7 @@ namespace urde { CGuiPane::CGuiPane(const CGuiWidgetParms& parms, const zeus::CVector2f& dim, const zeus::CVector3f& scaleCenter) : CGuiWidget(parms), xb8_dim(dim), xc8_scaleCenter(scaleCenter) { - InitializeBuffers(); + CGuiPane::InitializeBuffers(); } void CGuiPane::ScaleDimensions(const zeus::CVector3f& scale) {