Find file
Fetching contributors…
Cannot retrieve contributors at this time
52 lines (41 sloc) 1.34 KB
* Copyright (C) 2009, Alexander Stigsen,
* This software is licensed under the Open Company License as described
* in the file license.txt, which you should have received as part of this
* distribution. The terms are also available at
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
* KIND, either express or implied.
#ifndef __COMPAREDLG_H__
#define __COMPAREDLG_H__
#include "wx/wxprec.h"
#ifndef WX_PRECOMP
#include <wx/wx.h>
class wxFilePickerCtrl;
class eSettings;
class CompareDlg : public wxDialog {
CompareDlg(wxWindow *parent, eSettings& settings);
// Access to file paths
wxString GetLeftPath() const;
wxString GetRightPath() const;
void SetLeftPath(const wxString& path);
void SetRightPath(const wxString& path);
void UpdateOkButton();
// Event handlers
void OnButtonOk(wxCommandEvent& evt);
void OnBrowseLeft(wxCommandEvent& evt);
void OnBrowseRight(wxCommandEvent& evt);
void OnPathChanged(wxCommandEvent& evt);
wxComboBox* m_leftPathCtrl;
wxComboBox* m_rightPathCtrl;
eSettings& m_settings;
#endif // __COMPAREDLG_H__