22#include <wx/filedlgcustomize.h>
57 m_chained->AddCustomControls( customizer );
62 customizer.AddStaticText( wxT(
"\n\n" ) );
66 m_cb = customizer.AddCheckBox(
_(
"Use relative path" ) );
79 m_chained->TransferDataFromCustomControls();
106 wxFileDialogCheckBox*
m_cb =
nullptr;
RELATIVE_PATH_DEFAULTS m_RelativePathDefaults
virtual void AddCustomControls(wxFileDialogCustomize &customizer) override
FILEDLG_HOOK_RELATIVE_PATH(RELATIVE_PATH_CONTEXT aContext, wxFileDialogCustomizeHook *aChained=nullptr)
static bool & choiceRef(COMMON_SETTINGS *aCfg, RELATIVE_PATH_CONTEXT aContext)
virtual void UpdateCustomControls() override
wxFileDialogCustomizeHook * m_chained
wxDECLARE_NO_COPY_CLASS(FILEDLG_HOOK_RELATIVE_PATH)
virtual void TransferDataFromCustomControls() override
RELATIVE_PATH_CONTEXT m_context
bool GetUseRelativePath() const
wxFileDialogCheckBox * m_cb
PGM_BASE & Pgm()
The global program "get" accessor.