Use wxGetTranslation() instead of _() in the public headers.
This allows the code in them to compile even when WXINTL_NO_GETTEXT_MACRO is defined. Closes #15443. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -26,8 +26,8 @@ public:
|
||||
const wxString& caption,
|
||||
long style )
|
||||
: wxGenericMessageDialog( parent, message, caption, style ),
|
||||
m_detailsExpanderCollapsedLabel( _("&See details") ),
|
||||
m_detailsExpanderExpandedLabel( _("&Hide details") ),
|
||||
m_detailsExpanderCollapsedLabel( wxGetTranslation("&See details") ),
|
||||
m_detailsExpanderExpandedLabel( wxGetTranslation("&Hide details") ),
|
||||
m_checkBoxValue( false )
|
||||
{ }
|
||||
|
||||
|
Reference in New Issue
Block a user