1 // $Id: gc_matrix_display.cpp,v 1.1 2011/12/01 22:32:42 jmcgill Exp $
2 
3 /*
4   Copyright 2002  Mary Kuhner, Jon Yamato, and Joseph Felsenstein
5 
6   This software is distributed free of charge for non-commercial use
7   and is copyrighted.  Of course, we do not guarantee that the software
8   works, and are not responsible for any damage you may cause or have.
9 */
10 
11 #include "gc_matrix_display.h"
12 #include "gc_layout.h"
13 #include "wx/log.h"
14 
GCMatrixDisplaySizer()15 GCMatrixDisplaySizer::GCMatrixDisplaySizer()
16     : wxGridBagSizer(gclayout::borderSize,gclayout::borderSize)
17 {
18 }
19 
~GCMatrixDisplaySizer()20 GCMatrixDisplaySizer::~GCMatrixDisplaySizer()
21 {
22 }
23 
24 void
AddCell(wxWindow * matrix,size_t xpos,size_t ypos)25 GCMatrixDisplaySizer::AddCell(wxWindow * matrix, size_t xpos, size_t ypos)
26 {
27     Add(matrix,wxGBPosition(xpos, ypos),wxGBSpan(1,1),wxALL | wxEXPAND);
28     //wxLogMessage(wxT("xpos %i ypos %i"), xpos, ypos);
29 }
30 
31 
32 //____________________________________________________________________________________
33