]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/mdi.cpp
Since wxREADONLY has disappeared, I had to change to wxTE_READONLY
[wxWidgets.git] / src / gtk / mdi.cpp
index 66a39023cd23742efa7d22b2b23069849f337c76..4f71cc31cf6191695b039a2eadb153b0a5f3c91e 100644 (file)
@@ -16,6 +16,7 @@
 #include "wx/dialog.h"
 #include "wx/menu.h"
 #include "wx/gtk/win_gtk.h"
+#include <wx/intl.h>
 
 //-----------------------------------------------------------------------------
 
@@ -332,7 +333,7 @@ void wxMDIClientWindow::AddChild( wxWindow *child )
   wxString s;
   wxMDIChildFrame* mdi_child = (wxMDIChildFrame*) child;
   s = mdi_child->m_title;
-  if (s.IsNull()) s = "MDI child";
+  if (s.IsNull()) s = _("MDI child");
 
   GtkWidget *label_widget;
   label_widget = gtk_label_new( s );