~ubuntu-branches/ubuntu/maverick/codelite/maverick

« back to all changes in this revision

Viewing changes to Subversion2/subversion2_ui.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Alessio Treglia
  • Date: 2010-07-29 19:42:47 UTC
  • mfrom: (1.1.9 upstream) (18.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20100729194247-cuibfk03wog33nxq
Tags: 2.6.0.4189~dfsg-1
* New upstream release.
* Bump Standards.
* Refresh patches.
* Add license information about files under ./Debugger/

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
///////////////////////////////////////////////////////////////////////////
2
 
// C++ code generated with wxFormBuilder (version Aug 25 2009)
 
2
// C++ code generated with wxFormBuilder (version May  4 2010)
3
3
// http://www.wxformbuilder.org/
4
4
//
5
5
// PLEASE DO "NOT" EDIT THIS FILE!
46
46
        m_buttonChangeRootDir->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( SubversionPageBase::OnChangeRootDir ), NULL, this );
47
47
        m_treeCtrl->Disconnect( wxEVT_COMMAND_TREE_ITEM_ACTIVATED, wxTreeEventHandler( SubversionPageBase::OnItemActivated ), NULL, this );
48
48
        m_treeCtrl->Disconnect( wxEVT_COMMAND_TREE_ITEM_MENU, wxTreeEventHandler( SubversionPageBase::OnTreeMenu ), NULL, this );
 
49
        
49
50
}
50
51
 
51
52
CommitDialogBase::CommitDialogBase( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
81
82
        m_staticText1->Wrap( -1 );
82
83
        bSizer6->Add( m_staticText1, 0, wxALL|wxEXPAND, 5 );
83
84
        
84
 
        m_textCtrlMessage = new wxTextCtrl( m_panel2, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE|wxTE_PROCESS_ENTER|wxTE_RICH2 );
 
85
        m_textCtrlMessage = new wxTextCtrl( m_panel2, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE|wxTE_PROCESS_ENTER|wxTE_PROCESS_TAB|wxTE_RICH2 );
85
86
        bSizer6->Add( m_textCtrlMessage, 1, wxEXPAND, 5 );
86
87
        
87
88
        m_panel2->SetSizer( bSizer6 );
128
129
{
129
130
        // Disconnect Events
130
131
        m_choiceMessages->Disconnect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( CommitDialogBase::OnChoiceMessage ), NULL, this );
 
132
        
131
133
}
132
134
 
133
135
SvnCopyDialogBase::SvnCopyDialogBase( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
473
475
        m_staticText29->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( SvnPreferencesDialogBase::OnAddRevisionMacroUI ), NULL, this );
474
476
        m_textCtrlMacroName->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( SvnPreferencesDialogBase::OnAddRevisionMacroUI ), NULL, this );
475
477
        m_button8->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( SvnPreferencesDialogBase::OnButtonOK ), NULL, this );
 
478
        
476
479
}
477
480
 
478
481
SvnInfoDialog::SvnInfoDialog( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
645
648
        m_buttonBrowseDir->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( SvnCheckoutDialogBase::OnBrowseDirectory ), NULL, this );
646
649
        m_button14->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( SvnCheckoutDialogBase::OnOK ), NULL, this );
647
650
        m_button14->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( SvnCheckoutDialogBase::OnOkUI ), NULL, this );
 
651
        
648
652
}
649
653
 
650
654
SvnLogDialog::SvnLogDialog( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
707
711
SvnLogDialog::~SvnLogDialog()
708
712
{
709
713
}
 
714
 
 
715
DiffDialogBase::DiffDialogBase( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
 
716
{
 
717
        this->SetSizeHints( wxDefaultSize, wxDefaultSize );
 
718
        
 
719
        wxBoxSizer* bSizer25;
 
720
        bSizer25 = new wxBoxSizer( wxVERTICAL );
 
721
        
 
722
        wxFlexGridSizer* fgSizer9;
 
723
        fgSizer9 = new wxFlexGridSizer( 0, 2, 0, 0 );
 
724
        fgSizer9->AddGrowableCol( 1 );
 
725
        fgSizer9->SetFlexibleDirection( wxBOTH );
 
726
        fgSizer9->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
 
727
        
 
728
        m_staticText25 = new wxStaticText( this, wxID_ANY, _("From Revision:"), wxDefaultPosition, wxDefaultSize, 0 );
 
729
        m_staticText25->Wrap( -1 );
 
730
        fgSizer9->Add( m_staticText25, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
 
731
        
 
732
        m_textCtrlFromRev = new wxTextCtrl( this, wxID_ANY, _("BASE"), wxDefaultPosition, wxDefaultSize, wxTE_RICH2 );
 
733
        fgSizer9->Add( m_textCtrlFromRev, 0, wxALL|wxEXPAND, 5 );
 
734
        
 
735
        m_staticText26 = new wxStaticText( this, wxID_ANY, _("To Revision:"), wxDefaultPosition, wxDefaultSize, 0 );
 
736
        m_staticText26->Wrap( -1 );
 
737
        fgSizer9->Add( m_staticText26, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
 
738
        
 
739
        m_textCtrlToRev = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_RICH2 );
 
740
        fgSizer9->Add( m_textCtrlToRev, 0, wxALL|wxEXPAND, 5 );
 
741
        
 
742
        bSizer25->Add( fgSizer9, 1, wxEXPAND, 5 );
 
743
        
 
744
        m_staticline6 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
 
745
        bSizer25->Add( m_staticline6, 0, wxEXPAND | wxALL, 5 );
 
746
        
 
747
        wxBoxSizer* bSizer26;
 
748
        bSizer26 = new wxBoxSizer( wxHORIZONTAL );
 
749
        
 
750
        m_button20 = new wxButton( this, wxID_OK, _("&OK"), wxDefaultPosition, wxDefaultSize, 0 );
 
751
        m_button20->SetDefault(); 
 
752
        bSizer26->Add( m_button20, 0, wxALL, 5 );
 
753
        
 
754
        m_button19 = new wxButton( this, wxID_CANCEL, _("&Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
 
755
        bSizer26->Add( m_button19, 0, wxALL, 5 );
 
756
        
 
757
        bSizer25->Add( bSizer26, 0, wxALIGN_CENTER_HORIZONTAL, 5 );
 
758
        
 
759
        this->SetSizer( bSizer25 );
 
760
        this->Layout();
 
761
        bSizer25->Fit( this );
 
762
        
 
763
        this->Centre( wxBOTH );
 
764
}
 
765
 
 
766
DiffDialogBase::~DiffDialogBase()
 
767
{
 
768
}