Basic Image AlgorithmS Library  2.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
wxMessageDialogCheckbox.hh
1 /* This file is part of the BIAS library (Basic ImageAlgorithmS).
2 
3  Copyright (C) 2003-2009 (see file CONTACT for details)
4  Multimediale Systeme der Informationsverarbeitung
5  Institut fuer Informatik
6  Christian-Albrechts-Universitaet Kiel
7 
8  BIAS is free software; you can redistribute it and/or modify
9  it under the terms of the GNU Lesser General Public License as published by
10  the Free Software Foundation; either version 2.1 of the License, or
11  (at your option) any later version.
12 
13  BIAS is distributed in the hope that it will be useful,
14  but WITHOUT ANY WARRANTY; without even the implied warranty of
15  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  GNU Lesser General Public License for more details.
17 
18  You should have received a copy of the GNU Lesser General Public License
19  along with BIAS; if not, write to the Free Software
20  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
21 
22 #ifndef __wxMessageDialogCheckbox__
23 #define __wxMessageDialogCheckbox__
24 
25 #include <bias_config.h>
26 #include <Base/Common/W32Compat.hh>
27 
28 #include <wx/string.h>
29 #include <wx/stattext.h>
30 #include <wx/gdicmn.h>
31 #include <wx/font.h>
32 #include <wx/colour.h>
33 #include <wx/settings.h>
34 #include <wx/checkbox.h>
35 #include <wx/sizer.h>
36 #include <wx/button.h>
37 #include <wx/dialog.h>
38 
39 ///////////////////////////////////////////////////////////////////////////
40 
41 #define wxID_CHECKBOX 2319
42 
43 ///////////////////////////////////////////////////////////////////////////////
44 /// Class wxMessageDialogCheckbox
45 ///////////////////////////////////////////////////////////////////////////////
46 
47 namespace BIAS{
48 
49  class BIASGui_EXPORT wxMessageDialogCheckbox : public wxDialog
50  {
51  private:
52 
53 
54  protected:
55  wxStaticText* displayText_;
56  wxCheckBox* checkBox_;
57  wxStdDialogButtonSizer* m_sdbSizer2;
58  wxButton *m_button1,*m_button2;
60 
61  public:
63  const wxString& title = wxT("Ok dialog with check box"),
64  const wxString& text = wxT("Your question?"),
65  const wxPoint& pos = wxDefaultPosition,
66  const wxSize& size = wxSize(200,120),
67  long style = wxOK | wxDEFAULT_DIALOG_STYLE );
69 
70  bool GetChecked();
71  };
72 }
73 #endif //__wxMessageDialogCheckbox__
wxStdDialogButtonSizer * m_sdbSizer2