X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e18e17f9ed9e9c76e7cd9e5bbd6bbc9987625c73..50acee04cdaf2fec9f3fa4cd0035ff2d9ed7d53a:/include/wx/stack.h diff --git a/include/wx/stack.h b/include/wx/stack.h index 5550fae633..2500a114c6 100644 --- a/include/wx/stack.h +++ b/include/wx/stack.h @@ -5,7 +5,7 @@ // Modified by: // Created: 30.07.2001 // Copyright: (c) 2001 Lindsay Mathieson -// Licence: wxWindows license +// Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// #ifndef _WX_STACK_H_ @@ -16,28 +16,28 @@ #define WX_DECLARE_STACK(obj, cls)\ class cls : public wxVectorBase\ {\ - WX_DECLARE_VECTORBASE(obj, cls);\ + WX_DECLARE_VECTORBASE(obj, cls);\ public:\ - void push(const obj& o)\ - {\ - bool rc = Alloc(size() + 1);\ - wxASSERT(rc);\ - Append(new obj(o));\ - };\ + void push(const obj& o)\ + {\ + bool rc = Alloc(size() + 1);\ + wxASSERT(rc);\ + Append(new obj(o));\ + };\ \ - void pop()\ - {\ - RemoveAt(size() - 1);\ - };\ + void pop()\ + {\ + RemoveAt(size() - 1);\ + };\ \ - obj& top()\ - {\ - return *(obj *) GetItem(size() - 1);\ - };\ - const obj& top() const\ - {\ - return *(obj *) GetItem(size() - 1);\ - };\ + obj& top()\ + {\ + return *(obj *) GetItem(size() - 1);\ + };\ + const obj& top() const\ + {\ + return *(obj *) GetItem(size() - 1);\ + };\ } #endif // _WX_STACK_H_