20#ifndef FILEDLG_HOOK_SAVE_PROJECT_H
21#define FILEDLG_HOOK_SAVE_PROJECT_H
23#include <wx/filedlgcustomize.h>
33 customizer.AddStaticText( wxT(
"\n\n" ) );
36 m_cb = customizer.AddCheckBox(
_(
"Create a new project for this schematic" ) );
37 m_cb->SetValue(
true );
39 wxString choices[] = {
40 _(
"Do not copy subsheets" ),
41 _(
"Copy internal subsheets only" ),
42 _(
"Copy all subsheets" )
45 m_choice = customizer.AddChoice( 3, choices );
75 wxFileDialogCheckBox*
m_cb =
nullptr;
bool GetCreateNewProject() const
Gets the selected state of the copy subsheets option.
wxFileDialogCheckBox * m_cb
wxDECLARE_NO_COPY_CLASS(FILEDLG_HOOK_SAVE_PROJECT)
FILEDLG_HOOK_SAVE_PROJECT()
wxFileDialogChoice * m_choice
virtual void TransferDataFromCustomControls() override
Gets the selected state of the create new project option.
bool GetCopySubsheets() const
Gets the selected state of the include external sheets option.
bool IsAttachedToDialog() const
virtual void AddCustomControls(wxFileDialogCustomize &customizer) override
bool GetIncludeExternSheets() const
Gets if this hook has attached controls to a dialog box.