KiCad PCB EDA Suite
unit_binder.cpp File Reference
#include <wx/stattext.h>
#include <wx/textentry.h>
#include <limits>
#include <base_units.h>
#include <draw_frame.h>
#include <confirm.h>
#include "widgets/unit_binder.h"

Go to the source code of this file.

Functions

wxString valueDescriptionFromLabel (wxStaticText *aLabel)
 

Function Documentation

wxString valueDescriptionFromLabel ( wxStaticText *  aLabel)

Definition at line 108 of file unit_binder.cpp.

Referenced by UNIT_BINDER::Validate().

109 {
110  wxString desc = aLabel->GetLabel();
111 
112  desc.EndsWith( wxT( ":" ), &desc );
113  return desc;
114 }