~w-shackleton/droidpad-pc/trunk

« back to all changes in this revision

Viewing changes to src/droidFrame.cpp

  • Committer: William Shackleton
  • Date: 2011-05-26 10:33:59 UTC
  • Revision ID: w.shackleton@gmail.com-20110526103359-zul2i0m68gvs46ck
Libtoolized project, starting to add different components

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
        SetMenuBar(wxXmlResource::Get()->LoadMenuBar(this, wxT("menu")));
43
43
 
44
44
        panel = wxXmlResource::Get()->LoadPanel(this, wxT("mainPanel"));
45
 
        SetAutoLayout(true);
46
 
        Fit();
 
45
        panel->SetSizerAndFit(panel->GetSizer());
 
46
        wxSize sz;
 
47
        sz.SetHeight(200);
 
48
        sz.SetWidth(500);
 
49
        SetSize(sz);
47
50
 
48
51
        LOADXRC(buttonStart,    buttonStart,            wxButton);
49
52
        LOADXRC(buttonStop,     buttonStop,             wxButton);