//! Module for handling wxWidgets IDs.
use wxdragon_sys as ffi;
// Define Id as a type alias for i32
pub type Id = i32;
// Re-export the WXD_ID_ANY constant from ffi
pub use WXD_ID_ANY as ID_ANY; // Export as ID_ANY
/// Special ID meaning "no ID" or "disable this feature".
/// For dialogs, this is used with `set_escape_id()` to disable ESC key handling.
pub const ID_NONE: Id = -3;
/// The highest standard ID.
/// Used as a base for custom IDs (e.g., `ID_HIGHEST + 1`).
pub const ID_HIGHEST: Id = WXD_ID_HIGHEST as Id;
/// Standard ID for Exit commands.
pub const ID_EXIT: Id = WXD_ID_EXIT as Id;
/// Standard ID for About commands.
pub const ID_ABOUT: Id = WXD_ID_ABOUT as Id;
// --- Standard Dialog IDs (Manually Defined) ---
// Values based on typical wxWidgets assignments, verify if necessary.
pub const ID_OK: Id = WXD_ID_OK as Id; // Typically wxID_OK
pub const ID_CANCEL: Id = WXD_ID_CANCEL as Id; // Typically wxID_CANCEL
pub const ID_YES: Id = WXD_ID_YES as Id; // Typically wxID_YES
pub const ID_NO: Id = WXD_ID_NO as Id; // Typically wxID_NO
// Other standard IDs
pub const ID_APPLY: Id = WXD_ID_APPLY as Id;
pub const ID_HELP: Id = WXD_ID_HELP as Id;