30 const wxPoint& pos,
const wxSize& size,
31 const wxArrayString& choices,
long style ) :
38 Append(
_(
"inch" ) );
49 switch( GetCurrentSelection() )
62 const wxPoint& pos,
const wxSize& size,
63 const wxArrayString& choices,
long style )
66 Append( wxT(
"mm" ) );
67 Append( wxT(
"µm" ) );
68 Append( wxT(
"cm" ) );
69 Append( wxT(
"mil" ) );
70 Append( wxT(
"inch" ) );
71 Append( wxT(
"oz/ft²" ) );
82 switch( GetCurrentSelection() )
96 const wxPoint& pos,
const wxSize& size,
97 const wxArrayString& choices,
long style ):
100 Append(
_(
"GHz" ) );
101 Append(
_(
"MHz" ) );
102 Append(
_(
"kHz" ) );
113 switch( GetCurrentSelection() )
125 const wxPoint& pos,
const wxSize& size,
126 const wxArrayString& choices,
long style ) :
129 Append(
_(
"rad" ) );
130 Append(
_(
"deg" ) );
140 switch( GetCurrentSelection() )
150 const wxPoint& pos,
const wxSize& size,
151 const wxArrayString& choices,
long style )
154 Append( wxT(
"Ω" ) );
155 Append( wxT(
"kΩ" ) );
166 switch( GetCurrentSelection() )
UNIT_SELECTOR_ANGLE(wxWindow *parent, wxWindowID id, const wxPoint &pos, const wxSize &size, const wxArrayString &choices, long style=0)
double GetUnitScale() override
Function GetUnitScale.
UNIT_SELECTOR_FREQUENCY(wxWindow *parent, wxWindowID id, const wxPoint &pos, const wxSize &size, const wxArrayString &choices, long style=0)
double GetUnitScale() override
Function GetUnitScale.
double GetUnitScale() override
Function GetUnitScale.
double GetUnitScale() override
Function GetUnitScale.
UNIT_SELECTOR_LEN(wxWindow *parent, wxWindowID id, const wxPoint &pos, const wxSize &size, const wxArrayString &choices, long style=0)
UNIT_SELECTOR_RESISTOR(wxWindow *parent, wxWindowID id, const wxPoint &pos, const wxSize &size, const wxArrayString &choices, long style=0)
double GetUnitScale() override
Function GetUnitScale.
UNIT_SELECTOR_THICKNESS(wxWindow *parent, wxWindowID id, const wxPoint &pos, const wxSize &size, const wxArrayString &choices, long style=0)