]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/docview.h
Fixed property list OnClose problem that caused Dialog Editor problem
[wxWidgets.git] / include / wx / docview.h
index 86ad9c3801415558e2b9e19f998c1272f87913ed..b2a1d6879767db01af392f9200cfb23c317e2c09 100644 (file)
@@ -188,7 +188,7 @@ class WXDLLEXPORT wxView: public wxEvtHandler
   // Override to do cleanup/veto close
   virtual bool OnClose(bool deleteWindow);
 
-#ifdef WXWIN_COMPATIBILITY
+#if WXWIN_COMPATIBILITY
   // Defeat compiler warning
   bool OnClose(void) { return wxEvtHandler::OnClose(); }
 #endif