minimal now works in Unicode mode

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling 1999-04-24 08:50:40 +00:00
parent f70d582977
commit 9f06bcb3b8
2 changed files with 4 additions and 4 deletions

View File

@ -179,10 +179,10 @@ void MyFrame::OnQuit(wxCommandEvent& WXUNUSED(event))
void MyFrame::OnAbout(wxCommandEvent& WXUNUSED(event)) void MyFrame::OnAbout(wxCommandEvent& WXUNUSED(event))
{ {
wxString msg; wxString msg;
msg.Printf("This is the about dialog of minimal sample.\n" msg.Printf( _T("This is the about dialog of minimal sample.\n")
"Welcome to %s" _T("Welcome to %s")
#ifdef wxBETA_NUMBER #ifdef wxBETA_NUMBER
" (beta %d)!" _T(" (beta %d)!")
#endif // wxBETA_NUMBER #endif // wxBETA_NUMBER
, wxVERSION_STRING , wxVERSION_STRING
#ifdef wxBETA_NUMBER #ifdef wxBETA_NUMBER

View File

@ -118,7 +118,7 @@ wxCommandEvent::wxCommandEvent(wxEventType commandType, int theId)
m_extraLong = 0; m_extraLong = 0;
m_commandInt = 0; m_commandInt = 0;
m_id = theId; m_id = theId;
m_commandString = (char *) NULL; m_commandString = (wxChar *) NULL;
m_isCommandEvent = TRUE; m_isCommandEvent = TRUE;
} }