Transform to CMake project.

This commit is contained in:
SET
2022-10-15 15:27:56 +02:00
parent 472a3a8fd0
commit 1061b744c2
132 changed files with 136 additions and 3300 deletions

43
LItemData.h Normal file
View File

@@ -0,0 +1,43 @@
/*
* File: ltItemData.h
* Author: SET - nmset@yandex.com
* License : LGPL version 2.1
* Copyright SET, M. D. - © 2014
*
* Created on 24 mai 2014, 20:26
*/
#ifndef LITEMDATA_H
#define LITEMDATA_H
#include <wx/wx.h>
/**
Holds translated values for LComboBox items as wxClientData.
*
*/
class LItemData : public wxClientData
{
public:
LItemData(const long newData);
LItemData(const wxString newData);
LItemData(const wxAny newData);
virtual ~LItemData();
wxAny GetData()
{
return m_data;
}
long GetLong();
wxString GetString();
void SetValue(wxAny newData)
{
m_data = newData;
}
private:
wxAny m_data;
};
#endif /* LITEMDATA_H */