Hello, I am a newbie using codeblocks (with the compiler integrated).
I'd like to build and run an easy program.
Here how I proceed:
File -> New -> wxWidget Project.
Preferred GUI Builder : None
Application Type : Frame Based
wxwidgets : C:\wxWidgets-2.8.10
Compiler : GNU GCC Compiler
Create "Debug" configuration
Create "Release" configuration
Then I have two warnings windows "a matching debug configuration cannot be found in the wxwidget directory you specified"
"a matching release configuration cannot be found in the wxwidget directory you specified"
Then when I do Build .
Nothing appears.
I think I lost the log window and I cannot get it back.
How can I do that?
Please help
Here is my code:
#include "NewPanel.h"
//(*InternalHeaders(NewPanel)
#include <wx/intl.h>
#include <wx/string.h>
//*)
//(*IdInit(NewPanel)
const long NewPanel::ID_BUTTON1 = wxNewId();
//*)
BEGIN_EVENT_TABLE(NewPanel,wxPanel)
//(*EventTable(NewPanel)
//*)
END_EVENT_TABLE()
NewPanel::NewPanel(wxWindow* parent,wxWindowID id)
{
//(*Initialize(NewPanel)
Create(parent, id, wxDefaultPosition, wxSize(949,283), wxTAB_TRAVERSAL, _T("id"));
Button1 = new wxButton(this, ID_BUTTON1, _("Label"), wxPoint(144,48), wxDefaultSize, 0, wxDefaultValidator, _T("ID_BUTTON1"));
//*)
}
NewPanel::~NewPanel()
{
//(*Destroy(NewPanel)
//*)
}
void NewPanel::OnButton1Click(wxCommandEvent& event)
{
}