diff --git a/src/common/accelcmn.cpp b/src/common/accelcmn.cpp index 820985df26..1174305b94 100644 --- a/src/common/accelcmn.cpp +++ b/src/common/accelcmn.cpp @@ -38,6 +38,8 @@ wxAcceleratorTable wxNullAcceleratorTable; // wxAcceleratorEntry implementation // ============================================================================ +wxGCC_WARNING_SUPPRESS(missing-field-initializers) + static const struct wxKeyName { wxKeyCode code; @@ -113,6 +115,7 @@ static const struct wxKeyName { WXK_COMMAND, /*TRANSLATORS: Name of keyboard key*/ wxTRANSLATE("Command") }, }; +wxGCC_WARNING_RESTORE(missing-field-initializers) // return true if the 2 strings refer to the same accel //