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:
parent
f70d582977
commit
9f06bcb3b8
@ -179,10 +179,10 @@ void MyFrame::OnQuit(wxCommandEvent& WXUNUSED(event))
|
||||
void MyFrame::OnAbout(wxCommandEvent& WXUNUSED(event))
|
||||
{
|
||||
wxString msg;
|
||||
msg.Printf("This is the about dialog of minimal sample.\n"
|
||||
"Welcome to %s"
|
||||
msg.Printf( _T("This is the about dialog of minimal sample.\n")
|
||||
_T("Welcome to %s")
|
||||
#ifdef wxBETA_NUMBER
|
||||
" (beta %d)!"
|
||||
_T(" (beta %d)!")
|
||||
#endif // wxBETA_NUMBER
|
||||
, wxVERSION_STRING
|
||||
#ifdef wxBETA_NUMBER
|
||||
|
@ -118,7 +118,7 @@ wxCommandEvent::wxCommandEvent(wxEventType commandType, int theId)
|
||||
m_extraLong = 0;
|
||||
m_commandInt = 0;
|
||||
m_id = theId;
|
||||
m_commandString = (char *) NULL;
|
||||
m_commandString = (wxChar *) NULL;
|
||||
m_isCommandEvent = TRUE;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user