Permalink
Browse files

Move function bodies to .cpp

  • Loading branch information...
adamv committed Jul 23, 2009
1 parent 0fb9202 commit 1f1ee84566555fb046ac97f7fd6f25b95a65a76e
Showing with 12 additions and 2 deletions.
  1. +10 −0 src/CommitDlg.cpp
  2. +2 −2 src/CommitDlg.h
View
@@ -38,3 +38,13 @@ CommitDlg::CommitDlg(wxWindow *parent)
SetSizerAndFit(sizer);
SetSize(350, 200);
}
+
+wxString CommitDlg::GetLabel() const
+{
+ return m_labelCtrl->GetValue();
+}
+
+wxString CommitDlg::GetDescription() const
+{
+ return m_descCtrl->GetValue();
+}
View
@@ -24,8 +24,8 @@ class CommitDlg : public wxDialog {
CommitDlg(wxWindow *parent);
// Access to commit info
- wxString GetLabel() const {return m_labelCtrl->GetValue();};
- wxString GetDescription() const {return m_descCtrl->GetValue();};
+ wxString GetLabel() const;
+ wxString GetDescription() const;
private:
wxTextCtrl* m_descCtrl;

0 comments on commit 1f1ee84

Please sign in to comment.