1
//////////////////////////////////////////////////////////////////////////////
2
//////////////////////////////////////////////////////////////////////////////
4
// copyright : (C) 2014 The CodeLite Team
5
// file name : CorrectSpellingDlg.h
7
// -------------------------------------------------------------------------
10
// / __ \ | | | | (_) |
11
// | / \/ ___ __| | ___| | _| |_ ___
12
// | | / _ \ / _ |/ _ \ | | | __/ _ )
13
// | \__/\ (_) | (_| | __/ |___| | || __/
14
// \____/\___/ \__,_|\___\_____/_|\__\___|
18
// This program is free software; you can redistribute it and/or modify
19
// it under the terms of the GNU General Public License as published by
20
// the Free Software Foundation; either version 2 of the License, or
21
// (at your option) any later version.
23
//////////////////////////////////////////////////////////////////////////////
24
//////////////////////////////////////////////////////////////////////////////
26
/////////////////////////////////////////////////////////////////////////////
27
// Name: correctspellingdlg.h
29
// Author: Frank Lichtner
32
// SVN-ID: $Id: CorrectSpellingDlg.h 35 2014-02-22 18:18:49Z Frank $
33
// Copyright: 2014 Frank Lichtner
35
/////////////////////////////////////////////////////////////////////////////
36
#ifndef __CorrectSpellingDlg__
37
#define __CorrectSpellingDlg__
38
// ------------------------------------------------------------
39
#include "wxcrafter.h"
40
// ------------------------------------------------------------
44
// ------------------------------------------------------------
45
/** Implementing CorrectSpellingDlg_base */
47
class CorrectSpellingDlg : public CorrectSpellingDlg_base
50
// Handlers for CorrectSpellingDlg_base events.
51
void OnInitDialog( wxInitDialogEvent& event );
52
void OnSuggestionSelected( wxCommandEvent& event );
53
void OnChangeClick( wxCommandEvent& event );
54
void OnIgnoreClick( wxCommandEvent& event );
55
void OnDblClickSuggestions( wxCommandEvent& event );
56
void OnAddClick( wxCommandEvent& event );
57
void OnSuggestClick( wxCommandEvent& event );
58
void OnMove( wxMoveEvent& event );
60
wxString m_misspelled;
62
wxPoint m_currentPosition;
66
CorrectSpellingDlg( wxWindow* parent );
67
virtual ~CorrectSpellingDlg();
69
void SetPHs( IHunSpell* pHs ) { this->m_pHs = pHs; }
70
wxString GetMisspelled() const { return m_misspelled; }
71
void SetMisspelled( wxString value ) { this->m_misspelled = value; }
72
void SetSuggestions( wxArrayString suggests );
75
#endif // __CorrectSpellingDlg__