#include <wx/wx.h>
class Hello : public wxApp
{
public:
virtual bool OnInit();
};
IMPLEMENT_APP(Hello)
bool Hello::OnInit()
{
wxFrame *frame = new wxFrame(NULL, -1, _T("Hello"), wxPoint(60, 70), wxSize(500, 600));
frame -> show(true);
SetTopWindow(frame);
return true;
}
C:\Documents and Settings\Levi\Desktop\C+++\Makefile.win [Build Error] exe: *** [Output/MingW/Project1.exe] Error 1
Why do i get this error when i try to compile a simple wxFrame app in wxDev-cpp
thanks
Edit:
Well, im an idiot, i didnt have my source file saved lol. But the new question is, my compiler says show is not a member of wxFrame, so how am i supposed to show the actual window?