diff --git a/include/wx/sizer.h b/include/wx/sizer.h index 7a2ce17ff3..c4795d4c81 100644 --- a/include/wx/sizer.h +++ b/include/wx/sizer.h @@ -198,6 +198,8 @@ protected: // wxNotebookSizer //--------------------------------------------------------------------------- +#if wxUSE_NOTEBOOK + class WXDLLEXPORT wxNotebookSizer: public wxSizer { DECLARE_CLASS(wxNotebookSizer); @@ -214,5 +216,8 @@ protected: wxNotebook *m_notebook; }; +#endif + + #endif // __WXSIZER_H__