X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2ba06d5a8ccf8c224fcfbd52fa01a55abf7befbd..3a39df31ff47004a46cfb06f3fb2d3e317f96d2b:/contrib/samples/ogl/studio/symbols.cpp?ds=sidebyside diff --git a/contrib/samples/ogl/studio/symbols.cpp b/contrib/samples/ogl/studio/symbols.cpp index a58d34056a..69d3a719cf 100644 --- a/contrib/samples/ogl/studio/symbols.cpp +++ b/contrib/samples/ogl/studio/symbols.cpp @@ -24,8 +24,7 @@ #include #endif -#include -#include +#include // base header of OGL, includes and adjusts wx/deprecated/setup.h #include "studio.h" #include "doc.h" @@ -74,7 +73,7 @@ void csSymbolDatabase::AddSymbol(csSymbol* symbol) void csSymbolDatabase::ClearSymbols() { - wxNode* node = m_symbols.GetFirst(); + wxObjectList::compatibility_iterator node = m_symbols.GetFirst(); while (node) { csSymbol* symbol = (csSymbol*) node->GetData(); @@ -87,7 +86,7 @@ void csSymbolDatabase::ClearSymbols() 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(); @@ -101,7 +100,7 @@ csSymbol* csSymbolDatabase::FindSymbol(const wxString& name) const 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(); @@ -189,7 +188,7 @@ wxBitmap* csSymbolDatabase::CreateToolBitmap(csSymbol* symbol, const wxSize& too memDC.SelectObject(wxNullBitmap); #endif -#if 1 +#if 1 wxMemoryDC memDC; double height, width, maxSize;