wxLog *logger=new wxLogTextCtrl(TextCtrlOut);
wxLog::SetActiveTarget(logger);
//wxtring cmp
(TextCtrl2->GetValue().Cmp(wxT("text"))==0)
//Close dialog
EndModal(int)
Int is showmodal return code.
// Give the frame an icon
#include<wx/icon.h>
SetIcon(wxICON(mondrian));
Best Regards
Miao
没有评论:
发表评论