From b0b7b736fa33be1e363d20c134793082e42e7047 Mon Sep 17 00:00:00 2001 From: Melody Horn Date: Sun, 14 Nov 2021 02:04:39 -0700 Subject: holy shit did something just fucking work --- src/wx-sys.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/wx-sys.cpp') diff --git a/src/wx-sys.cpp b/src/wx-sys.cpp index 8e07962..229b018 100644 --- a/src/wx-sys.cpp +++ b/src/wx-sys.cpp @@ -1,6 +1,6 @@ #include "shit-wx-sys/src/wx-sys.h" #include -void message_box() { - wxMessageBox("Hello World!!!"); +void message_box(rust::Str message) { + wxMessageBox(std::string(message)); } -- cgit v1.2.3