Changeset 203
- Timestamp:
- 05/15/2009 12:44:13 PM (16 months ago)
- Files:
-
- 1 modified
-
trunk/src/simple_histogram.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/simple_histogram.cpp
r202 r203 21 21 #include "simple_histogram.h" 22 22 #include <boost/foreach.hpp> 23 #include <memory> 23 24 using namespace std; 24 25 … … 36 37 { 37 38 wxPaintDC pdc(this); 38 wxGraphicsContext* dc = wxGraphicsContext::Create(pdc);39 auto_ptr<wxGraphicsContext> dc(wxGraphicsContext::Create(pdc)); 39 40 40 41 dc->SetBrush(*wxBLUE_BRUSH);
