bool QedoController::OnInit()
{
	
	
	wxInitAllImageHandlers();

    wxSize main_size(800,600);
    wxPoint main_point(0,0);
    // Create the main window
    MainFrame *frame = new MainFrame( wxT("Qedo Controller 0.3") , main_point, main_size);

    // Problem with generic wxNotebook implementation whereby it doesn't size
    // properly unless you set the size again
#if defined(__WIN16__) || defined(__WXMOTIF__)
    int width, height;
    frame->GetSize(& width, & height);
    frame->SetSize(-1, -1, width, height);
#endif

    frame->Show();


    return TRUE;
}