Build fixes when wxUSE_INTL=0

This commit is contained in:
Tim Stahlhut
2026-04-02 19:07:43 -04:00
parent b40c110047
commit 3bd3baaecd
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -135,6 +135,7 @@ public:
// Construct an uninitialized locale
wxXLocale() { m_isC = false; }
#if wxUSE_INTL
// Construct from a symbolic language constant: unless the language is
// wxLANGUAGE_ENGLISH_US (which we assume to be the same as "C" locale)
// the object will be invalid
@@ -142,6 +143,7 @@ public:
{
m_isC = lang == wxLANGUAGE_ENGLISH_US;
}
#endif // wxUSE_INTL
// Construct from the given language string: unless the string is "C" or
// "POSIX" the object will be invalid
+1 -1
View File
@@ -2055,7 +2055,7 @@ bool wxFileProperty::DisplayEditorDialog(wxPropertyGrid* pg, wxVariant& value)
m_dlgTitle.empty() ? _("Choose a file") : m_dlgTitle,
m_initialPath.empty() ? path : m_initialPath,
file,
m_wildcard.empty() ? wxGetTranslation(wxALL_FILES) : m_wildcard,
m_wildcard.empty() ? wxString(wxGetTranslation(wxALL_FILES)) : m_wildcard,
m_dlgStyle,
wxDefaultPosition);