#endif
#ifndef WX_PRECOMP
-#include <wx/wx.h>
+#include "wx/wx.h"
#endif
#if wxUSE_PROLOGIO
-#include <wx/deprecated/wxexpr.h>
+#include "wx/deprecated/wxexpr.h"
#endif
#ifdef new
void wxLineShape::OnErase(wxDC& dc)
{
- wxPen *old_pen = m_pen;
- wxBrush *old_brush = m_brush;
+ const wxPen *old_pen = m_pen;
+ const wxBrush *old_brush = m_brush;
wxPen bg_pen = GetBackgroundPen();
wxBrush bg_brush = GetBackgroundBrush();
SetPen(&bg_pen);
void wxLineShape::OnDrawOutline(wxDC& dc, double WXUNUSED(x), double WXUNUSED(y), double WXUNUSED(w), double WXUNUSED(h))
{
- wxPen *old_pen = m_pen;
- wxBrush *old_brush = m_brush;
+ const wxPen *old_pen = m_pen;
+ const wxBrush *old_brush = m_brush;
wxPen dottedPen(*wxBLACK, 1, wxDOT);
SetPen(& dottedPen);
wxLineShape *lineShape = (wxLineShape *)this;
- wxPen *old_pen = lineShape->GetPen();
- wxBrush *old_brush = lineShape->GetBrush();
+ const wxPen *old_pen = lineShape->GetPen();
+ const wxBrush *old_brush = lineShape->GetBrush();
wxPen dottedPen(*wxBLACK, 1, wxDOT);
lineShape->SetPen(& dottedPen);
lpt->m_xpos = x; lpt->m_ypos = y;
lpt->m_point->x = x; lpt->m_point->y = y;
- wxPen *old_pen = lineShape->GetPen();
- wxBrush *old_brush = lineShape->GetBrush();
+ const wxPen *old_pen = lineShape->GetPen();
+ const wxBrush *old_brush = lineShape->GetBrush();
wxPen dottedPen(*wxBLACK, 1, wxDOT);
lineShape->SetPen(& dottedPen);
{
m_lineShape->GetEventHandler()->OnRightClick(x, y, keys, attachment);
}
-