X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetWrap.h;h=4a0c306a6be5470cd1180aee8109111437d9a178;hb=06254d11dfdf670fab3548dc2a2674e7a261262c;hp=a23944590c4eb3562e3ddac9da3d2284bc755ae3;hpb=b7d0510502114da9fc294e1735e06468cf89cf4d;p=lyx.git diff --git a/src/insets/InsetWrap.h b/src/insets/InsetWrap.h index a23944590c..4a0c306a6b 100644 --- a/src/insets/InsetWrap.h +++ b/src/insets/InsetWrap.h @@ -55,7 +55,9 @@ public: /// void validate(LaTeXFeatures & features) const; /// - Inset::Code lyxCode() const { return Inset::WRAP_CODE; } + InsetCode lyxCode() const { return WRAP_CODE; } + /// + bool isMacroScope(Buffer const &) const { return true; } /// int latex(Buffer const &, odocstream &, OutputParams const &) const; @@ -68,7 +70,7 @@ public: /// virtual docstring const editMessage() const; /// - bool insetAllowed(Inset::Code) const; + bool insetAllowed(InsetCode) const; /// bool showInsetDialog(BufferView *) const; ///