]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/dcbase.cpp
1. wxDialogs are now destroyed when they go out of scope
[wxWidgets.git] / src / common / dcbase.cpp
index da3b41768b859ecb776e99daab77a77c057230cb..755f2ccbb3f19184b2cc267fd39401c68296bee5 100644 (file)
 #endif
 
 #ifndef WX_PRECOMP
-#include "wx/defs.h"
+   #include "wx/window.h"
+#ifdef __WXMSW__
+   #include "wx/msw/private.h"
+#endif
 #endif
 
 #include "wx/dc.h"
@@ -66,7 +69,7 @@ void wxDCBase::DrawPolygon(const wxList *list,
 }
 
 
-#ifdef wxUSE_SPLINES
+#if wxUSE_SPLINES
 
 // TODO: this API needs fixing (wxPointList, why (!const) "wxList *"?)
 void wxDCBase::DrawSpline(long x1, long y1, long x2, long y2, long x3, long y3)
@@ -105,4 +108,4 @@ void wxDCBase::DrawSpline(int n, wxPoint points[])
     DrawSpline(&list);
 }
 
-#endif // wxUSE_SPLINES
\ No newline at end of file
+#endif // wxUSE_SPLINES