~ubuntu-branches/debian/stretch/3depict/stretch

« back to all changes in this revision

Viewing changes to src/gui/dialogs/filterErrorDialog.cpp

  • Committer: Package Import Robot
  • Author(s): D Haley
  • Date: 2015-05-01 23:59:48 UTC
  • mfrom: (1.1.9)
  • Revision ID: package-import@ubuntu.com-20150501235948-t38obogk535eg2h6
Tags: 0.0.18-1
Update to upstream 0.0.18

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
 *      filterErrorDialog.cpp - Dialog for displaying error notices computed from filter tree
3
 
 *      Copyright (C) 2013, D Haley 
 
3
 *      Copyright (C) 2015, D Haley 
4
4
 
5
5
 *      This program is free software: you can redistribute it and/or modify
6
6
 *      it under the terms of the GNU General Public License as published by
34
34
    // begin wxGlade: FilterErrorDialog::FilterErrorDialog
35
35
    textErrorMessage = new wxTextCtrl(this, wxID_ANY, wxEmptyString,wxDefaultPosition,wxDefaultSize,wxTE_MULTILINE|wxTE_READONLY);
36
36
    bitmapError = new wxStaticBitmap(this, wxID_ANY, wxArtProvider::GetBitmap(wxART_ERROR));
37
 
    labelError = new wxStaticText(this, wxID_ANY, wxTRANS("Error"));
 
37
    labelError = new wxStaticText(this, wxID_ANY, TRANS("Error"));
38
38
    bitmapWarning = new wxStaticBitmap(this, wxID_ANY,wxArtProvider::GetBitmap(wxART_WARNING));
39
 
    labelWarning = new wxStaticText(this, wxID_ANY, wxTRANS("Warning"));
 
39
    labelWarning = new wxStaticText(this, wxID_ANY, TRANS("Warning"));
40
40
    btnOK = new wxButton(this, wxID_OK, wxEmptyString);
41
41
 
42
 
    SetTitle(wxTRANS("Filter Errors"));
 
42
    SetTitle(TRANS("Filter Errors"));
43
43
    set_properties();
44
44
    do_layout();
45
45
    // end wxGlade
49
49
void FilterErrorDialog::set_properties()
50
50
{
51
51
    // begin wxGlade: FilterErrorDialog::set_properties
52
 
    SetTitle(wxTRANS("Filter Errors"));
 
52
    SetTitle(TRANS("Filter Errors"));
53
53
    SetSize(wxSize(551, 414));
54
54
    // end wxGlade
55
55
}
65
65
        }
66
66
 
67
67
        textErrorMessage->Clear();
68
 
        textErrorMessage->AppendText(wxStr(bigMessage));
 
68
        textErrorMessage->AppendText((bigMessage));
69
69
}
70
70
 
71
71
void FilterErrorDialog::do_layout()