DP:
1. _() calls added where needed. 2. const added in params in postscrp.[h,cpp] in order to compile with _(). 3. Some .cvsignore added. (I did not found any .cvsignore in repository, it is rather hard to compile something without them...) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -29,6 +29,7 @@
|
||||
#include "wx/utils.h"
|
||||
#include "wx/dialog.h"
|
||||
#include "wx/msgdlg.h"
|
||||
#include <wx/intl.h>
|
||||
#endif
|
||||
|
||||
#include "wx/layout.h"
|
||||
@@ -1098,7 +1099,7 @@ bool wxOldDoLayout(wxWindow *win)
|
||||
// failed, so we can print a specific diagnostic message.
|
||||
if (noFailures > 0)
|
||||
{
|
||||
wxDebugMsg("wxWindow::Layout() failed.\n");
|
||||
wxDebugMsg(_("wxWindow::Layout() failed.\n"));
|
||||
}
|
||||
*/
|
||||
// Now set the sizes and positions of the children, and
|
||||
@@ -1341,7 +1342,7 @@ bool wxSizer::LayoutPhase1(int *noChanges)
|
||||
{
|
||||
if (!m_sizerParent)
|
||||
{
|
||||
wxMessageBox("wxExpandSizer has no parent!", "Sizer error", wxOK);
|
||||
wxMessageBox(_("wxExpandSizer has no parent!"), _("Sizer error"), wxOK);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user