diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-08-10 00:41:52 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-08-17 12:59:25 +0200 |
| commit | dc97c7cde9937a5c19a9412b5877e854974006a9 (patch) | |
| tree | e55e1297f76e7dbd8845b95d40f546570672e482 /hacks/gl/shader.cc | |
| parent | 1b01a029fa4fc5768c9d25c206157b8ab00f6edc (diff) | |
Remove use of wxT in favour of char_to_wx().
The wxWidgets docs advise against its use these days.
Diffstat (limited to 'hacks/gl/shader.cc')
| -rw-r--r-- | hacks/gl/shader.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hacks/gl/shader.cc b/hacks/gl/shader.cc index 8d5f5fe70..c6cdb8593 100644 --- a/hacks/gl/shader.cc +++ b/hacks/gl/shader.cc @@ -35,7 +35,7 @@ public: bool OnInit() { auto sizer = new wxBoxSizer(wxHORIZONTAL); - _frame = new wxFrame(nullptr, wxID_ANY, wxT("Hello world")); + _frame = new wxFrame(nullptr, wxID_ANY, char_to_wx("Hello world")); _canvas = new GLCanvas(_frame); sizer->Add(_canvas->get(), 1, wxEXPAND); _frame->SetSizerAndFit(sizer); |
