~ubuntu-branches/ubuntu/lucid/codelite/lucid

« back to all changes in this revision

Viewing changes to Subversion/svnbasedlg.h

  • Committer: Bazaar Package Importer
  • Author(s): Chow Loong Jin
  • Date: 2009-02-10 02:27:55 UTC
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20090210022755-mxlvij3ndab1n5ty
Tags: upstream-1.0.2759+dfsg
ImportĀ upstreamĀ versionĀ 1.0.2759+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
#include <wx/intl.h>
12
12
 
13
13
#include <wx/string.h>
14
 
#include <wx/textctrl.h>
 
14
#include <wx/stattext.h>
15
15
#include <wx/gdicmn.h>
16
16
#include <wx/font.h>
17
17
#include <wx/colour.h>
18
18
#include <wx/settings.h>
19
 
#include <wx/stattext.h>
 
19
#include <wx/checklst.h>
 
20
#include <wx/sizer.h>
 
21
#include <wx/panel.h>
 
22
#include <wx/textctrl.h>
 
23
#include <wx/splitter.h>
 
24
#include <wx/statbox.h>
20
25
#include <wx/combobox.h>
21
26
#include <wx/statline.h>
22
27
#include <wx/button.h>
23
 
#include <wx/sizer.h>
24
28
#include <wx/dialog.h>
25
29
 
26
30
///////////////////////////////////////////////////////////////////////////
34
38
        private:
35
39
        
36
40
        protected:
 
41
                wxSplitterWindow* m_splitter1;
 
42
                wxPanel* m_panel2;
 
43
                wxStaticText* m_staticText2;
 
44
                wxCheckListBox* m_checkList;
 
45
                wxPanel* m_panel1;
 
46
                wxStaticText* m_staticText3;
37
47
                wxTextCtrl* m_textCtrl;
 
48
                wxStaticText* m_staticTextFileFullPath;
38
49
                wxStaticText* m_staticText1;
39
50
                wxComboBox* m_comboBoxLastCommitMsgs;
40
51
                wxStaticLine* m_staticline1;
42
53
                wxButton* m_buttonCancel;
43
54
                
44
55
                // Virtual event handlers, overide them in your derived class
 
56
                virtual void OnItemSelected( wxCommandEvent& event ){ event.Skip(); }
45
57
                virtual void OnLastCommitMsgSelected( wxCommandEvent& event ){ event.Skip(); }
46
58
                virtual void OnButtonOK( wxCommandEvent& event ){ event.Skip(); }
47
59
                
48
60
        
49
61
        public:
50
 
                SvnBaseDlg( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Enter SVN commit comment:"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 497,369 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
 
62
                SvnBaseDlg( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Commit Log:"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 497,369 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
51
63
                ~SvnBaseDlg();
 
64
                void m_splitter1OnIdle( wxIdleEvent& )
 
65
                {
 
66
                m_splitter1->SetSashPosition( 0 );
 
67
                m_splitter1->Disconnect( wxEVT_IDLE, wxIdleEventHandler( SvnBaseDlg::m_splitter1OnIdle ), NULL, this );
 
68
                }
 
69
                
52
70
        
53
71
};
54
72