diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2025-03-03 11:20:59 -0500 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2025-03-03 11:20:59 -0500 |
commit | 6d6f5dbf8c8e39aa0cf641a932d4da12200160fe (patch) | |
tree | 7ce1551c0c80d83af36b48ddf18274232514370f /src/ipc_dialog.cpp | |
parent | 969919119acd83320c4deb621a60ce6f36ff9583 (diff) | |
download | lingo-ap-tracker-6d6f5dbf8c8e39aa0cf641a932d4da12200160fe.tar.gz lingo-ap-tracker-6d6f5dbf8c8e39aa0cf641a932d4da12200160fe.tar.bz2 lingo-ap-tracker-6d6f5dbf8c8e39aa0cf641a932d4da12200160fe.zip |
Handle unicode conversion between wx and rest of app
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); |