remove usage of wxT() macro; it makes example code a bit harder to read

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Francesco Montorsi
2009-01-18 21:46:46 +00:00
parent 14860f1427
commit f8ebb70d6c
20 changed files with 51 additions and 49 deletions

View File

@@ -167,7 +167,9 @@ public:
details about the parameters.
*/
bool Create(long flags, wxWindow* parent,
const wxString& title = wxGetTranslation(wxT("Formatting")), wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& sz = wxDefaultSize, long style = wxDEFAULT_DIALOG_STYLE);
const wxString& title = wxGetTranslation("Formatting"), wxWindowID id = wxID_ANY,
const wxPoint& pos = wxDefaultPosition, const wxSize& sz = wxDefaultSize,
long style = wxDEFAULT_DIALOG_STYLE);
//@{
/**

View File

@@ -60,8 +60,8 @@ public:
/**
Constructor.
*/
wxRichTextHTMLHandler(const wxString& name = wxT("HTML"),
const wxString& ext = wxT("html"),
wxRichTextHTMLHandler(const wxString& name = "HTML",
const wxString& ext = "html",
int type = wxRICHTEXT_TYPE_HTML);
/**

View File

@@ -194,7 +194,7 @@ public:
/**
Constructor.
*/
wxRichTextPrintout(const wxString& title = wxT("Printout"));
wxRichTextPrintout(const wxString& title = "Printout");
/**
Calculates scaling and text, header and footer rectangles.
@@ -272,7 +272,7 @@ public:
Optionally pass a title to be used in the preview frame and printing wait
dialog, and also a parent window for these windows.
*/
wxRichTextPrinting(const wxString& name = wxT("Printing"),
wxRichTextPrinting(const wxString& name = "Printing",
wxWindow* parentWindow = NULL);
/**

View File

@@ -49,7 +49,7 @@
// 'normal text', i.e. the current font) but do tell the dialog
// what 'normal text' is.
wxSymbolPickerDialog dlg(wxT("*"), wxEmptyString, currentFontName, this);
wxSymbolPickerDialog dlg("*", wxEmptyString, currentFontName, this);
if (dlg.ShowModal() == wxID_OK)
{

View File

@@ -35,8 +35,8 @@ public:
/**
Constructor.
*/
wxRichTextXMLHandler(const wxString& name = wxT("XML"),
const wxString& ext = wxT("xml"),
wxRichTextXMLHandler(const wxString& name = "XML",
const wxString& ext = "xml",
int type = wxRICHTEXT_TYPE_XML);
/**