// Name: wx/longlong.cpp
// Purpose: implementation of wxLongLongNative
// Author: Jeffrey C. Ollie <jeff@ollie.clive.ia.us>, Vadim Zeitlin
-// Remarks: this class is not public in wxWindows 2.0! It is intentionally
+// Remarks: this class is not public in wxWidgets 2.0! It is intentionally
// not documented and is for private use only.
// Modified by:
// Created: 10.02.99
// RCS-ID: $Id$
// Copyright: (c) 1998 Vadim Zeitlin <zeitlin@dptmaths.ens-cachan.fr>
-// Licence: wxWindows license
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// ============================================================================
// headers
// ============================================================================
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma implementation "longlong.h"
#endif
wxULongLongWx& wxULongLongWx::operator/=(const wxULongLongWx& ll)
{
- wxLongLongWx quotient, remainder;
+ wxULongLongWx quotient, remainder;
Divide(ll, quotient, remainder);
while ( ll != 0 )
{
- result.Prepend((wxChar)(_T('0') + (ll % 10).ToLong()));
+ result.Prepend((wxChar)(_T('0') + (ll % 10).ToULong()));
ll /= 10;
}