remove MwMessageBoxDestroy, introduce destroy_inject
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good

This commit is contained in:
Nishi 2026-04-20 02:04:43 +09:00
commit a59154d5f1
Signed by: nishi
GPG key ID: 27EF69B208EB9343
9 changed files with 22 additions and 22 deletions

View file

@ -29,12 +29,6 @@ MWDECL MwWidget MwMessageBox(MwWidget handle, const char* text, const char* titl
*/
MWDECL MwWidget MwMessageBoxGetChild(MwWidget handle, int child);
/*!
* @brief Destroys the message box
* @param handle Widget
*/
MWDECL void MwMessageBoxDestroy(MwWidget handle);
#ifdef __cplusplus
}
#endif

View file

@ -91,6 +91,7 @@ struct _MwWidget {
void* internal;
void* opaque;
void (*draw_inject)(MwWidget handle);
void (*destroy_inject)(MwWidget handle);
MwIntegerKeyValue* integer;
MwTextKeyValue* text;