Support compile mingw32

This commit is contained in:
lsv 2025-09-23 16:17:07 +05:00
parent cc47a8ef7b
commit e65781aa65
32 changed files with 225 additions and 128 deletions

View file

@ -98,14 +98,14 @@ long ctlComboBoxFix::GetLongKey(int sel)
{
if (sel < 0)
sel = GetSelection();
return (long)wxItemContainer::GetClientData(sel);
return (long)wxPtrToUInt(wxItemContainer::GetClientData(sel));
}
OID ctlComboBoxFix::GetOIDKey(int sel)
{
if (sel < 0)
sel = GetSelection();
return (OID)wxItemContainer::GetClientData(sel);
return (OID)wxPtrToUInt(wxItemContainer::GetClientData(sel));
}
wxString ctlComboBoxFix::GetStringKey(int sel)