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

Go to the source code of this file.

Functions

 wxDEFINE_EVENT (DELAY_FOCUS, wxCommandEvent)
 
wxString valueDescriptionFromLabel (wxStaticText *aLabel)
 

Function Documentation

◆ valueDescriptionFromLabel()

wxString valueDescriptionFromLabel ( wxStaticText *  aLabel)

Definition at line 107 of file unit_binder.cpp.

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

Referenced by UNIT_BINDER::Validate().

◆ wxDEFINE_EVENT()

wxDEFINE_EVENT ( DELAY_FOCUS  ,
wxCommandEvent   
)