]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/sizer.cpp
Small bugfix
[wxWidgets.git] / src / common / sizer.cpp
index 96415ce65fcd0f63981d7ccac29d79e963b90000..236704d7830a0162cc24360f18ad93ae86426909 100644 (file)
@@ -31,7 +31,9 @@ IMPLEMENT_ABSTRACT_CLASS(wxSizerItem, wxObject);
 IMPLEMENT_ABSTRACT_CLASS(wxSizer, wxObject);
 IMPLEMENT_ABSTRACT_CLASS(wxBoxSizer, wxSizer);
 IMPLEMENT_ABSTRACT_CLASS(wxStaticBoxSizer, wxBoxSizer);
+#if wxUSE_NOTEBOOK
 IMPLEMENT_ABSTRACT_CLASS(wxNotebookSizer, wxSizer);
+#endif
 
 //---------------------------------------------------------------------------
 // wxSizerItem
@@ -563,6 +565,8 @@ wxSize wxStaticBoxSizer::CalcMin()
 // wxNotebookSizer
 //---------------------------------------------------------------------------
 
+#if wxUSE_NOTEBOOK
+
 wxNotebookSizer::wxNotebookSizer( wxNotebook *nb )
 {
     wxASSERT_MSG( nb, wxT("wxNotebookSizer needs a notebook") );
@@ -619,4 +623,4 @@ wxSize wxNotebookSizer::CalcMin()
     return wxSize( borderX + maxX, borderY + maxY );
 }
 
-
+#endif // wxUSE_NOTEBOOK