diff --git a/ui/wrap/wrap.h b/ui/wrap/wrap.h index 0d9cb08..7dbe93b 100644 --- a/ui/wrap/wrap.h +++ b/ui/wrap/wrap.h @@ -77,6 +77,8 @@ public: return RpWidget::naturalWidth(); } + using WrapParentType = RpWidget; + protected: int resizeGetHeight(int newWidth) override { if (auto weak = wrapped()) {