]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/dpycmn.cpp
fix typo in r57455 which totally broke modal dialogs display (close #10291)
[wxWidgets.git] / src / common / dpycmn.cpp
index e728d1b88597aafd1806921cb4db835fce9474f0..f8dcb43e856f1a4155a19d2e8fbda1178e3aea75 100644 (file)
@@ -205,7 +205,7 @@ bool wxDisplay::ChangeMode(const wxVideoMode& mode)
     return m_impl->ChangeMode(mode);
 }
 
-#endif // wxUSE_DIRECTDRAW
+#endif // wxUSE_DISPLAY
 
 // ----------------------------------------------------------------------------
 // static functions implementation