- wxSMALL_FONT = new wxFont (sizeFont - 2, wxSWISS, wxNORMAL, wxNORMAL);
- wxITALIC_FONT = new wxFont (sizeFont, wxROMAN, wxITALIC, wxNORMAL);
- wxSWISS_FONT = new wxFont (sizeFont, wxSWISS, wxNORMAL, wxNORMAL);
-
- wxRED_PEN = new wxPen ("RED", 1, wxSOLID);
- wxCYAN_PEN = new wxPen ("CYAN", 1, wxSOLID);
- wxGREEN_PEN = new wxPen ("GREEN", 1, wxSOLID);
- wxBLACK_PEN = new wxPen ("BLACK", 1, wxSOLID);
- wxWHITE_PEN = new wxPen ("WHITE", 1, wxSOLID);
- wxTRANSPARENT_PEN = new wxPen ("BLACK", 1, wxTRANSPARENT);
- wxBLACK_DASHED_PEN = new wxPen ("BLACK", 1, wxSHORT_DASH);
- wxGREY_PEN = new wxPen ("GREY", 1, wxSOLID);
- wxMEDIUM_GREY_PEN = new wxPen ("MEDIUM GREY", 1, wxSOLID);
- wxLIGHT_GREY_PEN = new wxPen ("LIGHT GREY", 1, wxSOLID);
-
- wxBLUE_BRUSH = new wxBrush ("BLUE", wxSOLID);
- wxGREEN_BRUSH = new wxBrush ("GREEN", wxSOLID);
- wxWHITE_BRUSH = new wxBrush ("WHITE", wxSOLID);
- wxBLACK_BRUSH = new wxBrush ("BLACK", wxSOLID);
- wxTRANSPARENT_BRUSH = new wxBrush ("BLACK", wxTRANSPARENT);
- wxCYAN_BRUSH = new wxBrush ("CYAN", wxSOLID);
- wxRED_BRUSH = new wxBrush ("RED", wxSOLID);
- wxGREY_BRUSH = new wxBrush ("GREY", wxSOLID);
- wxMEDIUM_GREY_BRUSH = new wxBrush ("MEDIUM GREY", wxSOLID);
- wxLIGHT_GREY_BRUSH = new wxBrush ("LIGHT GREY", wxSOLID);
-
- wxBLACK = new wxColour ("BLACK");
- wxWHITE = new wxColour ("WHITE");
- wxRED = new wxColour ("RED");
- wxBLUE = new wxColour ("BLUE");
- wxGREEN = new wxColour ("GREEN");
- wxCYAN = new wxColour ("CYAN");
- wxLIGHT_GREY = new wxColour ("LIGHT GREY");
-
- wxSTANDARD_CURSOR = new wxCursor (wxCURSOR_ARROW);
- wxHOURGLASS_CURSOR = new wxCursor (wxCURSOR_WAIT);
- wxCROSS_CURSOR = new wxCursor (wxCURSOR_CROSS);
-}
-
-void wxDeleteStockObjects ()
-{
- wxDELETE(wxNORMAL_FONT);
- wxDELETE(wxSMALL_FONT);
- wxDELETE(wxITALIC_FONT);
- wxDELETE(wxSWISS_FONT);
-
- wxDELETE(wxRED_PEN);
- wxDELETE(wxCYAN_PEN);
- wxDELETE(wxGREEN_PEN);
- wxDELETE(wxBLACK_PEN);
- wxDELETE(wxWHITE_PEN);
- wxDELETE(wxTRANSPARENT_PEN);
- wxDELETE(wxBLACK_DASHED_PEN);
- wxDELETE(wxGREY_PEN);
- wxDELETE(wxMEDIUM_GREY_PEN);
- wxDELETE(wxLIGHT_GREY_PEN);
-
- wxDELETE(wxBLUE_BRUSH);
- wxDELETE(wxGREEN_BRUSH);
- wxDELETE(wxWHITE_BRUSH);
- wxDELETE(wxBLACK_BRUSH);
- wxDELETE(wxTRANSPARENT_BRUSH);
- wxDELETE(wxCYAN_BRUSH);
- wxDELETE(wxRED_BRUSH);
- wxDELETE(wxGREY_BRUSH);
- wxDELETE(wxMEDIUM_GREY_BRUSH);
- wxDELETE(wxLIGHT_GREY_BRUSH);
-
- wxDELETE(wxBLACK);
- wxDELETE(wxWHITE);
- wxDELETE(wxRED);
- wxDELETE(wxBLUE);
- wxDELETE(wxGREEN);
- wxDELETE(wxCYAN);
- wxDELETE(wxLIGHT_GREY);
-
- wxDELETE(wxSTANDARD_CURSOR);
- wxDELETE(wxHOURGLASS_CURSOR);
- wxDELETE(wxCROSS_CURSOR);
-}
-
-void wxDeleteStockLists() {
- wxDELETE(wxTheBrushList);
- wxDELETE(wxThePenList);
- wxDELETE(wxTheFontList);
- wxDELETE(wxTheBitmapList);
-}
-
-wxBitmapList::wxBitmapList ()
-{
-}
-
-wxBitmapList::~wxBitmapList ()
-{
- wxNode *node = First ();
- while (node)