// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma implementation "cursor.h"
#endif
wxCursorRefData::~wxCursorRefData()
{
- wxXCursorList::Node* node = m_cursors.GetFirst();
+ wxXCursorList::compatibility_iterator node = m_cursors.GetFirst();
while (node)
{
wxXCursor* c = node->GetData();
{
if (!M_CURSORDATA)
return (WXCursor) 0;
- wxXCursorList::Node* node = M_CURSORDATA->m_cursors.GetFirst();
+ wxXCursorList::compatibility_iterator node = M_CURSORDATA->m_cursors.GetFirst();
while (node)
{
wxXCursor* c = node->GetData();
XFlush (display);
- for(wxWindowList::Node *node = win->GetChildren().GetFirst (); node;
+ for(wxWindowList::compatibility_iterator node = win->GetChildren().GetFirst (); node;
node = node->GetNext())
{
wxWindow *child = node->GetData ();
wxBusyCursorCount++;
if (wxBusyCursorCount == 1)
{
- for(wxWindowList::Node *node = wxTopLevelWindows.GetFirst (); node;
+ for(wxWindowList::compatibility_iterator node = wxTopLevelWindows.GetFirst (); node;
node = node->GetNext())
{
wxWindow *win = node->GetData ();
wxBusyCursorCount--;
if (wxBusyCursorCount == 0)
{
- for(wxWindowList::Node *node = wxTopLevelWindows.GetFirst (); node;
+ for(wxWindowList::compatibility_iterator node = wxTopLevelWindows.GetFirst (); node;
node = node->GetNext())
{
wxWindow *win = node->GetData ();