Files
l7/L7/LItemData.cpp
SET 585c56bc33 Allow the text control of BasePicker to show indefinite string length.
Otherwise, the text control gets empty if the string length is > 33 !
2020-06-06 21:07:39 +02:00

44 lines
617 B
C++

/*
* File: ltItemData.cpp
* Author: SET - nmset@yandex.com
* License : LGPL version 2.1
* Copyright SET, M. D. - © 2014
*
* Created on 24 mai 2014, 20:26
*/
#include "LItemData.h"
LItemData::LItemData(const long newData)
{
m_data = newData;
}
LItemData::LItemData(const wxString newData)
{
m_data = newData;
}
LItemData::LItemData(const wxAny newData)
{
m_data = newData;
}
LItemData::~LItemData()
{
}
long LItemData::GetLong()
{
long lVal;
m_data.GetAs(&lVal);
return lVal;
}
wxString LItemData::GetString()
{
wxString sVal;
m_data.GetAs(&sVal);
return sVal;
}