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())); -}