]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/dpycmn.cpp
Make this header SWIG-safe
[wxWidgets.git] / src / common / dpycmn.cpp
index e728d1b88597aafd1806921cb4db835fce9474f0..3c337d10bbabd0facb3308aab06b8eaa863bd1a5 100644 (file)
@@ -85,7 +85,7 @@ public:
 #endif // wxUSE_DISPLAY
 
 
-    DECLARE_NO_COPY_CLASS(wxDisplayImplSingle)
+    wxDECLARE_NO_COPY_CLASS(wxDisplayImplSingle);
 };
 
 // ----------------------------------------------------------------------------
@@ -205,7 +205,7 @@ bool wxDisplay::ChangeMode(const wxVideoMode& mode)
     return m_impl->ChangeMode(mode);
 }
 
-#endif // wxUSE_DIRECTDRAW
+#endif // wxUSE_DISPLAY
 
 // ----------------------------------------------------------------------------
 // static functions implementation