]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/printing/printing.cpp
Remove wxRTTI macro for wxComboBox from Motif port.
[wxWidgets.git] / samples / printing / printing.cpp
index b2528ed397d2ef2aa1f364b32258e8ae50945a9c..07c7769912729495f61be62f8a5d04bb28e00b2b 100644 (file)
@@ -51,7 +51,7 @@
 
 #include "printing.h"
 
-#if !defined(__WXMSW__) && !defined(__WXPM__)
+#ifndef wxHAS_IMAGES_IN_RESOURCES
     #include "../sample.xpm"
 #endif
 
@@ -161,7 +161,7 @@ void MyApp::Draw(wxDC&dc)
 
     dc.DrawText( wxT("Rectangle 200 by 80"), 40, 40);
 
-    dc.SetPen( wxPen(*wxBLACK,0,wxDOT_DASH) );
+    dc.SetPen( wxPen(*wxBLACK, 0, wxPENSTYLE_DOT_DASH) );
     dc.DrawEllipse(50, 140, 100, 50);
     dc.SetPen(*wxRED_PEN);