~ubuntu-branches/ubuntu/hardy/codeblocks/hardy-backports

« back to all changes in this revision

Viewing changes to src/plugins/scriptedwizard/genericselectpath.h

  • Committer: Bazaar Package Importer
  • Author(s): Michael Casadevall
  • Date: 2008-07-17 04:39:23 UTC
  • Revision ID: james.westby@ubuntu.com-20080717043923-gmsy5cwkdjswghkm
Tags: upstream-8.02
ImportĀ upstreamĀ versionĀ 8.02

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * This file is part of the Code::Blocks IDE and licensed under the GNU General Public License, version 3
 
3
 * http://www.gnu.org/licenses/gpl-3.0.html
 
4
 */
 
5
 
 
6
#ifndef GENERICSELECTPATH_H
 
7
#define GENERICSELECTPATH_H
 
8
 
 
9
#ifdef __BORLANDC__
 
10
    #pragma hdrstop
 
11
#endif
 
12
 
 
13
//(*Headers(GenericSelectPath)
 
14
#include <wx/button.h>
 
15
#include <wx/panel.h>
 
16
#include <wx/sizer.h>
 
17
#include <wx/stattext.h>
 
18
#include <wx/textctrl.h>
 
19
//*)
 
20
 
 
21
class wxString;
 
22
 
 
23
class GenericSelectPath: public wxPanel
 
24
{
 
25
        public:
 
26
 
 
27
                GenericSelectPath(wxWindow* parent,wxWindowID id = -1);
 
28
                virtual ~GenericSelectPath();
 
29
 
 
30
                // use this because it adjusts the sizer too
 
31
                void SetDescription(const wxString& descr)
 
32
                {
 
33
                    lblDescr->SetLabel(descr);
 
34
 
 
35
            GetSizer()->Fit(this);
 
36
            GetSizer()->SetSizeHints(this);
 
37
                }
 
38
 
 
39
                //(*Identifiers(GenericSelectPath)
 
40
                static const long ID_STATICTEXT1;
 
41
                static const long ID_STATICTEXT2;
 
42
                static const long ID_TEXTCTRL1;
 
43
                static const long ID_BUTTON1;
 
44
                //*)
 
45
 
 
46
                //(*Handlers(GenericSelectPath)
 
47
                //*)
 
48
 
 
49
                //(*Declarations(GenericSelectPath)
 
50
                wxBoxSizer* BoxSizer1;
 
51
                wxStaticText* lblDescr;
 
52
                wxStaticText* lblLabel;
 
53
                wxBoxSizer* BoxSizer2;
 
54
                wxTextCtrl* txtFolder;
 
55
                wxButton* btnBrowse;
 
56
                //*)
 
57
 
 
58
        private:
 
59
 
 
60
                DECLARE_EVENT_TABLE()
 
61
};
 
62
 
 
63
#endif