#include "wx/panel.h"
#include "wx/utils.h"
#include "wx/imaglist.h"
+#include "wx/intl.h"
#include "wx/log.h"
//-----------------------------------------------------------------------------
node = node->Next();
};
- wxCHECK_MSG( node != NULL, -1, "wxNotebook: no selection?");
+ wxCHECK_MSG( node != NULL, -1, "wxNotebook: no selection?" );
return page->m_id;
};
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()
};
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;
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);
if (!page->m_page)
{
- wxLogFatalError( "Notebook page creation error" );
+ wxLogFatalError( _("Notebook page creation error") );
return;
}