Add a simple wxStack<> template class based on wxVector<>.
This is still simpler than std::stack<> which can be used with any container and not just wxVector<> but better than the WX_DECLARE_STACK() macro which was all that we had before. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -53,8 +53,6 @@
|
||||
|
||||
#include "wx/stack.h"
|
||||
|
||||
WX_DECLARE_STACK(GraphicsState, GraphicsStates);
|
||||
|
||||
namespace
|
||||
{
|
||||
|
||||
@@ -385,7 +383,7 @@ private:
|
||||
const wxGraphicsBrush& backgroundBrush);
|
||||
|
||||
Graphics* m_context;
|
||||
GraphicsStates m_stateStack;
|
||||
wxStack<GraphicsState> m_stateStack;
|
||||
GraphicsState m_state1;
|
||||
GraphicsState m_state2;
|
||||
|
||||
|
Reference in New Issue
Block a user