]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/drawing/drawing.cpp
don't return hardcoded constants for empty renderers, introduce wxDVC_DEFAULT_RENDERE...
[wxWidgets.git] / samples / drawing / drawing.cpp
index 39427761247c62ded36329ef4947a4950265f652..9b288944fbea50a6672dc11aaa2584d07ced0025 100644 (file)
@@ -111,7 +111,7 @@ public:
 
     int         m_backgroundMode;
     int         m_textureBackground;
-    int         m_mapMode;
+    wxMappingMode m_mapMode;
     double      m_xUserScale;
     double      m_yUserScale;
     int         m_xLogicalOrigin;
@@ -802,7 +802,7 @@ void MyCanvas::DrawText(wxDC& dc)
 static const struct
 {
     const wxChar *name;
-    int           rop;
+    wxRasterOperationMode rop;
 } rasterOperations[] =
 {
     { wxT("wxAND"),          wxAND           },