B
berkay
hi all,am trying to learn gui programming i have such a code
#include <wx/wxprec.h>
#ifndef WX_PRECOMP
#include <wx/wx.h>
#endif
#include "base.h"
IMPLEMENT_APP(MainApp) // A macro that tells wxWindows to create an
instance of our application
bool MainApp::OnInit()
{
MainFrame *MainWin = new MainFrame("Hello World!",
wxDefaultPosition,
wxSize(300, 200)); // Create an instance of our frame, or window
MainWin->Show(TRUE); // show the window
SetTopWindow(MainWin);// and finally, set it as the main window
return TRUE;
}
MainFrame::MainFrame(const wxString &title, const wxPoint &pos, const
wxSize &size)
: wxFrame((wxFrame *) NULL, -1, title, pos, size)
{
// normally we would initialize objects such as buttons and textboxes
here
}
i have base.h but i dont have this : wx/wxprec.h
i use vc++6.0 can anyone send me this file or help me..
#include <wx/wxprec.h>
#ifndef WX_PRECOMP
#include <wx/wx.h>
#endif
#include "base.h"
IMPLEMENT_APP(MainApp) // A macro that tells wxWindows to create an
instance of our application
bool MainApp::OnInit()
{
MainFrame *MainWin = new MainFrame("Hello World!",
wxDefaultPosition,
wxSize(300, 200)); // Create an instance of our frame, or window
MainWin->Show(TRUE); // show the window
SetTopWindow(MainWin);// and finally, set it as the main window
return TRUE;
}
MainFrame::MainFrame(const wxString &title, const wxPoint &pos, const
wxSize &size)
: wxFrame((wxFrame *) NULL, -1, title, pos, size)
{
// normally we would initialize objects such as buttons and textboxes
here
}
i have base.h but i dont have this : wx/wxprec.h
i use vc++6.0 can anyone send me this file or help me..