X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/33d0e17c11ec2ad4aa8d2e18bfeb3173cfb2ce61..0990cd942e8e3c392535c6fe0933f3a1e460b058:/src/gtk1/notebook.cpp?ds=sidebyside diff --git a/src/gtk1/notebook.cpp b/src/gtk1/notebook.cpp index 7744b3e1c3..1034747a3f 100644 --- a/src/gtk1/notebook.cpp +++ b/src/gtk1/notebook.cpp @@ -651,6 +651,8 @@ wxNotebookPage *wxNotebook::GetPage( int page ) const return nb_page->m_client; } +#if wxUSE_CONSTRAINTS + // override these 2 functions to do nothing: everything is done in OnSize void wxNotebook::SetConstraintSizes( bool WXUNUSED(recurse) ) { @@ -663,6 +665,8 @@ bool wxNotebook::DoPhase( int WXUNUSED(nPhase) ) return TRUE; } +#endif + void wxNotebook::ApplyWidgetStyle() { // TODO, font for labels etc