]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/dpycmn.cpp
restore SetSelection(-1, -1) behaviour which was broken during wxTextEntry refactoring
[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