File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ int ConfigDialogue::GetImageSize() {
99
99
}
100
100
}
101
101
102
- ConfigDialogue::ConfigDialogue (wxWindow *parent, Configuration *cfg )
102
+ ConfigDialogue::ConfigDialogue (wxWindow *parent)
103
103
: wxPropertySheetDialog() {
104
104
#if defined __WXOSX__
105
105
SetSheetStyle (wxPROPSHEET_CHOICEBOOK);
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ class ConfigDialogue : public wxPropertySheetDialog
87
87
{
88
88
public:
89
89
// ! The constructor
90
- ConfigDialogue (wxWindow *parent, Configuration *cfg );
90
+ ConfigDialogue (wxWindow *parent);
91
91
92
92
// ! The destructor
93
93
~ConfigDialogue ();
Original file line number Diff line number Diff line change @@ -629,7 +629,7 @@ void MyApp::OnFileMenu(wxCommandEvent &ev) {
629
629
}
630
630
else if (ev.GetId () == wxID_PREFERENCES) {
631
631
Configuration config;
632
- ConfigDialogue *configW = new ConfigDialogue (NULL , &config );
632
+ ConfigDialogue *configW = new ConfigDialogue (NULL );
633
633
configW->Centre (wxBOTH);
634
634
if (configW->ShowModal () == wxID_OK)
635
635
configW->WriteSettings ();
Original file line number Diff line number Diff line change @@ -6161,7 +6161,7 @@ void wxMaxima::EditMenu(wxCommandEvent &event) {
6161
6161
wxConfigBase *config = wxConfig::Get ();
6162
6162
// Write the changes in the configuration to the disk.
6163
6163
config->Flush (true );
6164
- ConfigDialogue *configW = new ConfigDialogue (this , &m_configuration );
6164
+ ConfigDialogue *configW = new ConfigDialogue (this );
6165
6165
configW->Centre (wxBOTH);
6166
6166
auto result = configW->ShowModal ();
6167
6167
if (result == wxID_OK) {
You can’t perform that action at this time.
0 commit comments