X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e3e65dac0c4e7ad19e3c270caa1e0eea138e5d8d..903f689bf7c3c379cba45881373aa9bdd15d6e70:/src/gtk/notebook.cpp diff --git a/src/gtk/notebook.cpp b/src/gtk/notebook.cpp index 6ee2d57a76..a2c5f2f9df 100644 --- a/src/gtk/notebook.cpp +++ b/src/gtk/notebook.cpp @@ -16,6 +16,7 @@ #include "wx/panel.h" #include "wx/utils.h" #include "wx/imaglist.h" +#include "wx/intl.h" #include "wx/log.h" //----------------------------------------------------------------------------- @@ -184,7 +185,7 @@ int wxNotebook::GetSelection() const node = node->Next(); }; - wxCHECK_MSG( node != NULL, -1, "wxNotebook: no selection?"); + wxCHECK_MSG( node != NULL, -1, "wxNotebook: no selection?" ); return page->m_id; }; @@ -301,12 +302,12 @@ bool wxNotebook::SetPageImage( int page, int image ) void wxNotebook::SetPageSize( const wxSize &WXUNUSED(size) ) { - wxFAIL_MSG("wxNotebook::SetPageSize not implemented"); + wxFAIL_MSG(_("wxNotebook::SetPageSize not implemented")); }; void wxNotebook::SetPadding( const wxSize &WXUNUSED(padding) ) { - wxFAIL_MSG("wxNotebook::SetPadding not implemented"); + wxFAIL_MSG(_("wxNotebook::SetPadding not implemented")); }; bool wxNotebook::DeleteAllPages() @@ -369,7 +370,7 @@ bool wxNotebook::AddPage(wxWindow* win, const wxString& text, }; wxCHECK_MSG(page != NULL, FALSE, - "Can't add a page whose parent is not the notebook!"); + _("Can't add a page whose parent is not the notebook!")); // then set the attributes page->m_text = text; @@ -401,7 +402,7 @@ void wxNotebook::AddChild( wxWindow *win ) wxNotebookPage *page = new wxNotebookPage(); page->m_id = GetPageCount(); - page->m_label = (GtkLabel *)gtk_label_new("Handle"); + page->m_label = (GtkLabel *)gtk_label_new(_("Handle")); page->m_client = win; gtk_notebook_append_page( GTK_NOTEBOOK(m_widget), win->m_widget, (GtkWidget *)page->m_label); @@ -417,7 +418,7 @@ void wxNotebook::AddChild( wxWindow *win ) if (!page->m_page) { - wxLogFatalError( "Notebook page creation error" ); + wxLogFatalError( _("Notebook page creation error") ); return; }