The constructor is expecting something from me (wxWindow* parent) but I don't know how or what to put there.
Code: Select all
#ifndef __FkF1__
#define __FkF1__
/**
@file
Subclass of F1, which is generated by wxFormBuilder.
*/
#include "Fk.h"
//// end generated include
/** Implementing F1 */
class FkF1 : public F1
{
protected:
// Handlers for F1 events.
void DoClose( wxCloseEvent& event );
public:
/** Constructor */
FkF1( wxWindow* parent );
//// end generated class members
};
#endif // __FkF1__
Code: Select all
#include "FkF1.cpp"
class MyApp : public wxApp
{
public:
virtual bool OnInit();
};
wxIMPLEMENT_APP(MyApp);
bool MyApp::OnInit()
{
FkF1 *frame = new FkF1(I HAVE NO IDEA WHAT TO PUT HERE);
frame->Show(true);
return true;
}