> 2025/07/15 17:35、Scott Kostyshak <skost...@lyx.org>のメール:
> On Tue, Jul 15, 2025 at 08:43:46AM +0200, Kornel Benko wrote:
>> Am Mon, 14 Jul 2025 16:11:47 +0200
>> schrieb Scott Kostyshak <skost...@lyx.org>:
>>> On Mon, Jul 14, 2025 at 03:51:03PM +0200, Jean-Marc Lasgouttes wrote:
>>>> Looks good to me. What is not good is when you overload a method in a
>>>> derived class. In this case, you should reimplement the original function 
>>>> in
>>>> the new class too (or just use "using oldclass::mymethod(arg1, arg2)" or
>>>> something like that).

I see now. Thank you!

>>>> My original idea was to declare it only for InsetMathChar, not Inset.

I reflected it in a new fix on commit 57a24fb.

>> Works here too. At least for draw(). But not for 
>> src/insets/InsetSpecialChar.cpp
> 
> Yes, I see that too. The Pinter.h:154 is the only other warning for this
> category besides the one Koji's patch fixes.

I gave a similar treatment as given to draw() to text() functions as well in 
the above commit.

I hope it solves the problem.

Koji
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
https://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to