Initialize variables inside file dialog customizer classes
This commit is contained in:
parent
0bd39516c4
commit
2f8cc194c1
|
@ -67,12 +67,12 @@ public:
|
||||||
SYMBOL_SAVEAS_TYPE GetOption() const { return m_option; }
|
SYMBOL_SAVEAS_TYPE GetOption() const { return m_option; }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
SYMBOL_SAVEAS_TYPE m_option;
|
SYMBOL_SAVEAS_TYPE m_option = SYMBOL_SAVEAS_TYPE::NORMAL_SAVE_AS;
|
||||||
|
|
||||||
wxFileDialogRadioButton* m_simpleSaveAs;
|
wxFileDialogRadioButton* m_simpleSaveAs = nullptr;
|
||||||
wxFileDialogRadioButton* m_replaceTableEntry;
|
wxFileDialogRadioButton* m_replaceTableEntry = nullptr;
|
||||||
wxFileDialogRadioButton* m_addGlobalTableEntry;
|
wxFileDialogRadioButton* m_addGlobalTableEntry = nullptr;
|
||||||
wxFileDialogRadioButton* m_addProjectTableEntry;
|
wxFileDialogRadioButton* m_addProjectTableEntry = nullptr;
|
||||||
|
|
||||||
wxDECLARE_NO_COPY_CLASS( SYMBOL_FILEDLG_SAVE_AS );
|
wxDECLARE_NO_COPY_CLASS( SYMBOL_FILEDLG_SAVE_AS );
|
||||||
};
|
};
|
||||||
|
|
|
@ -42,9 +42,9 @@ public:
|
||||||
bool GetCreateNewDir() const { return m_createNewDir; }
|
bool GetCreateNewDir() const { return m_createNewDir; }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
bool m_createNewDir;
|
bool m_createNewDir = true;
|
||||||
|
|
||||||
wxFileDialogCheckBox* m_cb;
|
wxFileDialogCheckBox* m_cb = nullptr;
|
||||||
|
|
||||||
wxDECLARE_NO_COPY_CLASS( FILEDLG_NEW_PROJECT );
|
wxDECLARE_NO_COPY_CLASS( FILEDLG_NEW_PROJECT );
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue