29 #include <wx/string.h> 49 wxSize
GetTextSize(
const wxString& aSingleLine, wxWindow* aWindow );
void SelectReferenceNumber(wxTextEntry *aTextEntry)
Select the number (or "?") in a reference for ease of editing.
bool IsModalDialogFocused()
int GetStdMargin()
Get the standard margin around a widget in the KiCad UI.
SEVERITY SeverityFromString(const wxString &aSeverity)
bool IsInputControlFocused()
Checks if a input control has focus.
wxSize GetTextSize(const wxString &aSingleLine, wxWindow *aWindow)
Return the size of aSingleLine of text when it is rendered in aWindow using whatever font is currentl...
bool EnsureTextCtrlWidth(wxTextCtrl *aCtrl, const wxString *aString=NULL)
Set the minimum pixel width on a text control in order to make a text string be fully visible within ...
wxString SeverityToString(const SEVERITY &aSeverity)