menue.h: Removed 'virtual' keyword from init method in CMenuItem

This change resolves -Woverloaded-virtual warnings.
Ensured that the init method is resolved at compile time,
as the base class version is not intended to be used in derived classes.


Origin commit data
------------------
Branch: ni/coolstream
Commit: c862f17130
Author: Thilo Graf <dbt@novatux.de>
Date: 2024-09-02 (Mon, 02 Sep 2024)



------------------
This commit was generated by Migit
This commit is contained in:
2024-09-02 21:06:01 +02:00
committed by vanhofen
parent 588d56658b
commit b1c2a6c8ba

View File

@@ -159,7 +159,7 @@ class CMenuItem : public CComponentsSignals
used = true;
}
virtual void init(const int X, const int Y, const int DX, const int OFFX);
void init(const int X, const int Y, const int DX, const int OFFX);
virtual int paint (bool selected = false) = 0;
virtual int getHeight(void);