]> git.saurik.com Git - wxWidgets.git/commitdiff
Allow building when WXINTL_NO_GETTEXT_MACRO is defined.
authorMattia Barbon <mbarbon@cpan.org>
Sat, 25 Nov 2006 13:52:12 +0000 (13:52 +0000)
committerMattia Barbon <mbarbon@cpan.org>
Sat, 25 Nov 2006 13:52:12 +0000 (13:52 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/richtext/richtextformatdlg.h

index 0e3aec20ceff74eb4e09e23f161ed633d7709f36..2e78084baca71c8401332676d1179184a426b091 100644 (file)
@@ -118,7 +118,7 @@ DECLARE_CLASS(wxRichTextFormattingDialog)
 public:
     wxRichTextFormattingDialog() { Init(); }
 
-    wxRichTextFormattingDialog(long flags, wxWindow* parent, const wxString& title = _("Formatting"), wxWindowID id = wxID_ANY,
+    wxRichTextFormattingDialog(long flags, wxWindow* parent, const wxString& title = wxGetTranslation(wxT("Formatting")), wxWindowID id = wxID_ANY,
         const wxPoint& pos = wxDefaultPosition, const wxSize& sz = wxDefaultSize,
         long style = wxDEFAULT_DIALOG_STYLE)
     {
@@ -130,7 +130,7 @@ public:
 
     void Init();
 
-    bool Create(long flags, wxWindow* parent, const wxString& title = _("Formatting"), wxWindowID id = wxID_ANY,
+    bool Create(long flags, wxWindow* parent, const wxString& title = wxGetTranslation(wxT("Formatting")), wxWindowID id = wxID_ANY,
         const wxPoint& pos = wxDefaultPosition, const wxSize& sz = wxDefaultSize,
         long style = wxDEFAULT_DIALOG_STYLE);