33 if( !aName.IsEmpty() )
47 m_name.Trim(
true ).Trim(
false );
49 m_url.Trim(
true ).Trim(
false );
DIALOG_GIT_REMOTE_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Add Remote"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE)
bool TransferDataFromWindow() override
DIALOG_GIT_REMOTE(wxWindow *aParent, const wxString &aName=wxEmptyString, const wxString &aUrl=wxEmptyString)
With aName set the remote exists already, so only its URL can be changed.
void OptOut(wxWindow *aWindow)
Opt out of control state saving.
void SetupStandardButtons(std::map< int, wxString > aLabels={})
void finishDialogSettings()
In all dialogs, we must call the same functions to fix minimal dlg size, the default position and per...
void DisplayInfoMessage(wxWindow *aParent, const wxString &aMessage, const wxString &aExtraInfo)
Display an informational message box with aMessage.
This file is part of the common library.