mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-08-17 17:02:51 +08:00
Build fixes when wxUSE_INTL=0
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user