void csSymbolDatabase::ClearSymbols()
{
- wxNode* node = m_symbols.GetFirst();
+ wxObjectList::compatibility_iterator node = m_symbols.GetFirst();
while (node)
{
csSymbol* symbol = (csSymbol*) node->GetData();
csSymbol* csSymbolDatabase::FindSymbol(const wxString& name) const
{
- wxNode* node = m_symbols.GetFirst();
+ wxObjectList::compatibility_iterator node = m_symbols.GetFirst();
while (node)
{
csSymbol* symbol = (csSymbol*) node->GetData();
csSymbol* csSymbolDatabase::FindSymbol(int toolId) const
{
- wxNode* node = m_symbols.GetFirst();
+ wxObjectList::compatibility_iterator node = m_symbols.GetFirst();
while (node)
{
csSymbol* symbol = (csSymbol*) node->GetData();
memDC.SetBackground(wxBrush(wxSystemSettings::GetColour(wxSYS_COLOUR_3DFACE), wxSOLID));
memDC.Clear();
- symbol->GetShape()->Show(TRUE);
+ symbol->GetShape()->Show(true);
symbol->GetShape()->Move(memDC, centreX, centreY);
memDC.SelectObject(wxNullBitmap);