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 board" ) );
 
   37        m_cb->SetValue( 
true );
 
 
   57    wxFileDialogCheckBox* 
m_cb = 
nullptr;
 
 
bool GetCreateNewProject() const
Gets if this hook has attached controls to a dialog box.
 
wxFileDialogCheckBox * m_cb
 
wxDECLARE_NO_COPY_CLASS(FILEDLG_HOOK_SAVE_PROJECT)
 
FILEDLG_HOOK_SAVE_PROJECT()
 
virtual void TransferDataFromCustomControls() override
Gets the selected state of the create new project option.
 
bool IsAttachedToDialog() const
 
virtual void AddCustomControls(wxFileDialogCustomize &customizer) override