]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/dbgrid.cpp
removed OSX code that is no longer needed
[wxWidgets.git] / src / common / dbgrid.cpp
index 83e673a9183c52e6e5f359f9edfc6b8cc4924fb7..4e41ffcd665919cda4d66ecd83bd74fad7600b5c 100644 (file)
@@ -23,7 +23,7 @@
 
 
 #if wxUSE_ODBC
-#if wxUSE_NEW_GRID
+#if wxUSE_GRID
 
 #ifndef WX_PRECOMP
     #include "wx/textctrl.h"
 #include "wx/generic/gridctrl.h"
 #include "wx/dbgrid.h"
 
+// DLL options compatibility check:
+#include "wx/app.h"
+WX_CHECK_BUILD_OPTIONS("wxDbGrid")
+
 
 wxDbGridCellAttrProvider::wxDbGridCellAttrProvider()
 {
@@ -720,6 +724,6 @@ bool wxDbGridTableBase::Writeback() const
 
 WX_DEFINE_EXPORTED_OBJARRAY(keyarray);
 
-#endif  // #if wxUSE_NEW_GRID
+#endif  // #if wxUSE_GRID
 #endif  // #if wxUSE_ODBC