28 const wxString& aReplacement ) :
32 m_pasteOptions->SetItemToolTip(
static_cast<int>( PASTE_MODE::UNIQUE_ANNOTATIONS ),
33 _(
"Finds the next available reference designator for "
34 "any designators that already exist in the design." ) );
36 m_pasteOptions->SetItemToolTip(
static_cast<int>( PASTE_MODE::KEEP_ANNOTATIONS ),
39 m_pasteOptions->SetItemToolTip(
static_cast<int>( PASTE_MODE::REMOVE_ANNOTATIONS ),
40 wxString::Format(
_(
"Replaces reference designators with '%s'." ),
Class DIALOG_PASTE_SPECIAL_BASE.
wxRadioBox * m_pasteOptions
bool TransferDataFromWindow() override
DIALOG_PASTE_SPECIAL(wxWindow *aParent, PASTE_MODE *aMode, const wxString &aReplacement=wxS("?"))
virtual void onRadioBoxEvent(wxCommandEvent &event) override
bool TransferDataToWindow() override
void finishDialogSettings()
In all dialogs, we must call the same functions to fix minimal dlg size, the default position and per...