- wxString::Format(_T("(%d, %d)-(%d, %d)"),
+ wxString::Format(wxT("(%d, %d)-(%d, %d)"),
rc.x, rc.y, rc.width, rc.height)
));
rc.x, rc.y, rc.width, rc.height)
));
sizer->Add(new wxStaticText(page, wxID_ANY, display.GetName()));
wxSizer *sizerTop = new wxBoxSizer(wxVERTICAL);
sizer->Add(new wxStaticText(page, wxID_ANY, display.GetName()));
wxSizer *sizerTop = new wxBoxSizer(wxVERTICAL);
sizer->Add(new wxStaticText(page, Display_CurrentMode,
VideoModeToText(display.GetCurrentMode())));
// add it to another sizer to have borders around it and button below
sizer->Add(new wxStaticText(page, Display_CurrentMode,
VideoModeToText(display.GetCurrentMode())));
// add it to another sizer to have borders around it and button below
- sizerTop->Add(new wxButton(page, Display_ResetMode, _T("&Reset mode")),
+ sizerTop->Add(new wxButton(page, Display_ResetMode, wxT("&Reset mode")),
- wxMessageBox(_T("Demo program for wxDisplay class.\n\n(c) 2003-2006 Vadim Zeitlin"),
- _T("About Display Sample"),
+ wxMessageBox(wxT("Demo program for wxDisplay class.\n\n(c) 2003-2006 Vadim Zeitlin"),
+ wxT("About Display Sample"),
wxDynamicCast(event.GetEventObject(), wxChoice)->
GetClientObject(event.GetInt()))->mode) )
{
wxDynamicCast(event.GetEventObject(), wxChoice)->
GetClientObject(event.GetInt()))->mode) )
{
- wxLogStatus(this, _T("Mouse clicked in display %d (at (%d, %d))"),
+ wxLogStatus(this, wxT("Mouse clicked in display %d (at (%d, %d))"),