When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.
Is wxSmith bug?
Create
wxFrame
wxFrame::Createbool Create(wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxDEFAULT_FRAME_STYLE, const wxString& name = "frame")Used in two-step frame construction. See wxFrame::wxFrame for further details.
bool _App::OnInit(){ NewFrame* frame = new NewFrame(0L, wxID_ANY, wxPoint(50, 30), wxSize(700, 500), 0); frame->SetIcon(wxICON(aaaa)); // To Set App Icon frame->Show(); return true;}
But have a question: why to set this option ? how to use? it's can't work!like this code:Codebool _App::OnInit(){ NewFrame* frame = new NewFrame(0L, wxID_ANY, wxPoint(50, 30), wxSize(700, 500), 0); frame->SetIcon(wxICON(aaaa)); // To Set App Icon frame->Show(); return true;}