From ab5cc1455e95b8e09c25c995184858564dcd0f72 Mon Sep 17 00:00:00 2001 From: NishiOwO Date: Mon, 20 Apr 2026 02:05:12 +0900 Subject: [PATCH] update --- include/MwCXX/Dialog/MessageBox.h | 1 - src/dialog/messagebox.cc | 3 --- 2 files changed, 4 deletions(-) diff --git a/include/MwCXX/Dialog/MessageBox.h b/include/MwCXX/Dialog/MessageBox.h index 661ccb0..f01163f 100644 --- a/include/MwCXX/Dialog/MessageBox.h +++ b/include/MwCXX/Dialog/MessageBox.h @@ -6,7 +6,6 @@ namespace MwCXX { MwCXX::Window* MessageBox(MwCXX::Base* handle, MwCXX::String text, MwCXX::String title, unsigned int flag); MwCXX::Button* MessageBoxGetChild(MwCXX::Window* handle, int child); - void MessageBoxDestroy(MwCXX::Window* handle); }; // namespace MwCXX #endif diff --git a/src/dialog/messagebox.cc b/src/dialog/messagebox.cc index 1fb221b..4c7e16b 100644 --- a/src/dialog/messagebox.cc +++ b/src/dialog/messagebox.cc @@ -20,6 +20,3 @@ MwCXX::Window* MwCXX::MessageBox(MwCXX::Base* handle, MwCXX::String text, MwCXX: MwCXX::Button* MwCXX::MessageBoxGetChild(MwCXX::Window* handle, int child) { return new MwCXX::Button(MwMessageBoxGetChild((handle == NULL ? NULL : handle->GetWidget()), (int)child), handle); } -void MwCXX::MessageBoxDestroy(MwCXX::Window* handle) { - MwMessageBoxDestroy((handle == NULL ? NULL : handle->GetWidget())); -}