diff options
Diffstat (limited to 'Tox_GUI/gui/home/Home.cpp')
-rw-r--r-- | Tox_GUI/gui/home/Home.cpp | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/Tox_GUI/gui/home/Home.cpp b/Tox_GUI/gui/home/Home.cpp deleted file mode 100644 index f30f8af3..00000000 --- a/Tox_GUI/gui/home/Home.cpp +++ /dev/null | |||
@@ -1,28 +0,0 @@ | |||
1 | #include <wx\textdlg.h> | ||
2 | #include "Home.h" | ||
3 | |||
4 | Home::Home(const wxString& title) | ||
5 | : wxFrame(NULL, wxID_ANY, title, wxDefaultPosition, wxSize(750, 450)) | ||
6 | { | ||
7 | wxPanel * panel = new wxPanel(this, -1); | ||
8 | |||
9 | wxBoxSizer *hbox = new wxBoxSizer(wxHORIZONTAL); | ||
10 | |||
11 | netlogList = new wxListBox(panel, ID_LISTBOX, | ||
12 | wxPoint(-1, -1), wxSize(-1, -1)); | ||
13 | |||
14 | hbox->Add(netlogList, 3, wxEXPAND | wxALL, 20); | ||
15 | |||
16 | panel->SetSizer(hbox); | ||
17 | |||
18 | Centre(); | ||
19 | |||
20 | netlogList->Append("Testing..."); | ||
21 | } | ||
22 | |||
23 | void Home::AddNew(wxCommandEvent& event) | ||
24 | { | ||
25 | wxString str = wxGetTextFromUser(wxT("Add new item")); | ||
26 | if (str.Len() > 0) | ||
27 | netlogList->Append(str); | ||
28 | } \ No newline at end of file | ||