X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d10f4bf950c4ad064b982fe8fe07d5ca5e3af7ba..5c6bd4a9570c63619275710f0b91a93231532b98:/include/wx/generic/gridctrl.h?ds=sidebyside diff --git a/include/wx/generic/gridctrl.h b/include/wx/generic/gridctrl.h index 9a87f635ff..eedc77cc45 100644 --- a/include/wx/generic/gridctrl.h +++ b/include/wx/generic/gridctrl.h @@ -12,10 +12,12 @@ #ifndef _WX_GENERIC_GRIDCTRL_H_ #define _WX_GENERIC_GRIDCTRL_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #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_