Enhanced stock labels usage. Source cleaning.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2005-01-31 18:18:18 +00:00
parent faa9724741
commit 5d2ac6b8c6
21 changed files with 140 additions and 142 deletions

View File

@@ -47,8 +47,8 @@ public:
m_rules = rules;
m_shape = shape;
};
// A more convenient ctor for the built-in samples
// A more convenient ctor for the built-in samples
LifePattern(wxString name,
wxString description,
int width,
@@ -57,7 +57,7 @@ public:
{
m_name = name;
m_description = description;
m_rules = _("");
m_rules = wxEmptyString;
m_shape.Add( wxString::Format(_T("%i %i"), -width/2, -height/2) );
for(int j = 0; j < height; j++)
{
@@ -88,7 +88,7 @@ struct LifeCell
{
wxInt32 i;
wxInt32 j;
};
};
// A private class that contains data about a block of cells
class LifeCellBox;