diff options
Diffstat (limited to 'src/ipc_dialog.cpp')
-rw-r--r-- | src/ipc_dialog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ipc_dialog.cpp b/src/ipc_dialog.cpp index f17c2d8..1e09a2f 100644 --- a/src/ipc_dialog.cpp +++ b/src/ipc_dialog.cpp | |||
@@ -12,8 +12,8 @@ IpcDialog::IpcDialog() : wxDialog(nullptr, wxID_ANY, "Connect to game") { | |||
12 | address_value = GetTrackerConfig().ipc_address; | 12 | address_value = GetTrackerConfig().ipc_address; |
13 | } | 13 | } |
14 | 14 | ||
15 | address_box_ = | 15 | address_box_ = new wxTextCtrl(this, -1, wxString::FromUTF8(address_value), |
16 | new wxTextCtrl(this, -1, address_value, wxDefaultPosition, {300, -1}); | 16 | wxDefaultPosition, {300, -1}); |
17 | 17 | ||
18 | wxButton* reset_button = new wxButton(this, -1, "Use Default"); | 18 | wxButton* reset_button = new wxButton(this, -1, "Use Default"); |
19 | reset_button->Bind(wxEVT_BUTTON, &IpcDialog::OnResetClicked, this); | 19 | reset_button->Bind(wxEVT_BUTTON, &IpcDialog::OnResetClicked, this); |