1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
#include "../include/fenetre.h"
//#include "../include/class_id.h"
//-------------------------------
/*BEGIN_EVENT_TABLE(Fenetre,wxFrame)
EVT_BUTTON(1000, Fenetre::OnQuitter)
END_EVENT_TABLE()*/
//wxID_ANY
//------------------------------------
Fenetre::Fenetre(const wxString & prmTitre, wxPoint & prmOrigine, wxSize & prmTaille)
:wxFrame(NULL, -1, prmTitre, wxPoint(50,50), wxSize(500,500))
{
// Centre() ;
//
ptr2 = new wxButton(this,1001,wxT("essai"),wxPoint(100,100),wxSize(50,50)) ;
//ptrBouton = new wxButton(this,1000,wxT("test"),wxPoint(20,50)) ;
//ptrBouton->SetSize(20,20) ;
}
//---------------------------------------
/*void Fenetre::OnQuitter(wxCommandEvent & WXUNUSED(prmEvenement))
{
this->Close(true) ;
}*/ |
Partager