X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d10f4bf950c4ad064b982fe8fe07d5ca5e3af7ba..72594e90b2da8c167ba63b89b2c168c57a19cab4:/include/wx/generic/gridctrl.h?ds=inline diff --git a/include/wx/generic/gridctrl.h b/include/wx/generic/gridctrl.h index 9a87f635ff..5a852c6bd5 100644 --- a/include/wx/generic/gridctrl.h +++ b/include/wx/generic/gridctrl.h @@ -16,6 +16,8 @@ #pragma interface "gridctrl.h" #endif +#if wxUSE_GRID || wxUSE_NEW_GRID + #include "wx/grid.h" #include "wx/string.h" #include "wx/datetime.h" @@ -89,6 +91,8 @@ protected: }; +#if wxUSE_COMBOBOX + class WXDLLEXPORT wxGridCellEnumEditor : public wxGridCellChoiceEditor { public: @@ -104,8 +108,9 @@ private: long int m_startint; }; +#endif // wxUSE_COMBOBOX -class wxGridCellAutoWrapStringEditor : public wxGridCellTextEditor +class WXDLLEXPORT wxGridCellAutoWrapStringEditor : public wxGridCellTextEditor { public: wxGridCellAutoWrapStringEditor() : wxGridCellTextEditor() { } @@ -117,7 +122,7 @@ public: { return new wxGridCellAutoWrapStringEditor; } }; -class wxGridCellAutoWrapStringRenderer : public wxGridCellStringRenderer +class WXDLLEXPORT wxGridCellAutoWrapStringRenderer : public wxGridCellStringRenderer { public: wxGridCellAutoWrapStringRenderer() : wxGridCellStringRenderer() { } @@ -146,5 +151,7 @@ private: }; +#endif // #if wxUSE_GRID || wxUSE_NEW_GRID + #endif //_WX_GENERIC_GRIDCTRL_H_