Changeset 185 for trunk/src/about.cpp


Ignore:
Timestamp:
10/23/2008 08:51:44 PM (4 years ago)
Author:
guyru
Message:

fix compilation under VC

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/about.cpp

    r183 r185  
    2727using namespace about; 
    2828AboutDialog::AboutDialog(wxWindow* parent): 
    29     wxDialog(parent, wxID_ANY, wxT("About " PACKAGE_NAME), wxDefaultPosition, wxSize(-1,300), wxDEFAULT_DIALOG_STYLE) 
     29    wxDialog(parent, wxID_ANY, wxT("About ") wxT(PACKAGE_NAME), wxDefaultPosition, wxSize(-1,300), wxDEFAULT_DIALOG_STYLE) 
    3030{ 
    3131        addControlsAndLayout(); 
     
    3939        title_sizer->Add(logo, 0, wxALL|wxALIGN_CENTER_VERTICAL, 10); 
    4040 
    41         wxStaticText* app_label = new wxStaticText(this,wxID_ANY,wxT("Open Yahtzee " VERSION)); 
     41        wxStaticText* app_label = new wxStaticText(this,wxID_ANY,wxT("Open Yahtzee ") wxT(VERSION)); 
    4242        app_label->SetFont(wxFont(14, wxDEFAULT, wxNORMAL, wxBOLD, false)); 
    4343        title_sizer->Add(app_label, 0, wxALL|wxALIGN_CENTER_VERTICAL|wxADJUST_MINSIZE, 10); 
     
    9999{ 
    100100        wxTextCtrl* text = new wxTextCtrl(notebook, wxID_ANY,wxT(""),wxDefaultPosition,wxDefaultSize,wxTE_MULTILINE|wxTE_READONLY); 
    101         *text << wxT("This program is free software; you can redistribute " 
    102                 "it and/or modify it under the terms of the GNU General " 
    103                 "Public License as published by the Free Software " 
    104                 "Foundation; either version 2 of the License, or (at your " 
    105                 "option) any later version.\n\n" 
     101        *text << wxT("This program is free software; you can redistribute ") 
     102                wxT("it and/or modify it under the terms of the GNU General ") 
     103                wxT("Public License as published by the Free Software ") 
     104                wxT("Foundation; either version 2 of the License, or (at your ") 
     105                wxT("option) any later version.\n\n") 
    106106 
    107                 "This program is distributed in the hope that it will be " 
    108                 "useful, but WITHOUT ANY WARRANTY; without even the " 
    109                 "implied warranty of MERCHANTABILITY or FITNESS FOR A " 
    110                 "PARTICULAR PURPOSE.  See the GNU General Public License " 
    111                 "for more details. \n\n" 
     107                wxT("This program is distributed in the hope that it will be ") 
     108                wxT("useful, but WITHOUT ANY WARRANTY; without even the ") 
     109                wxT("implied warranty of MERCHANTABILITY or FITNESS FOR A ") 
     110                wxT("PARTICULAR PURPOSE.  See the GNU General Public License ") 
     111                wxT("for more details. \n\n") 
    112112 
    113                 "You should have received a copy of the GNU General " 
    114                 "Public License along with this program; if not, write to " 
    115                 "the\n" 
    116                 "Free Software Foundation, Inc.,\n" 
    117                 "59 Temple Place - Suite 330, Boston, MA  02111-1307, USA."); 
     113                wxT("You should have received a copy of the GNU General ") 
     114                wxT("Public License along with this program; if not, write to ") 
     115                wxT("the\n") 
     116                wxT("Free Software Foundation, Inc.,\n") 
     117                wxT("59 Temple Place - Suite 330, Boston, MA  02111-1307, USA."); 
    118118 
    119119        notebook->AddPage(text, wxT("License Agreement")); 
Note: See TracChangeset for help on using the changeset viewer.