]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/notebook.cpp
set orientation for scrolbar events
[wxWidgets.git] / src / msw / notebook.cpp
index cec5d7ff5299b10fd6a224ab364ff9ab6db84fe3..41bb0705240f6871dd96494f3a8e4523399f6512 100644 (file)
@@ -603,6 +603,8 @@ void wxNotebook::OnNavigationKey(wxNavigationKeyEvent& event)
 // wxNotebook base class virtuals
 // ----------------------------------------------------------------------------
 
+#if wxUSE_CONSTRAINTS
+
 // override these 2 functions to do nothing: everything is done in OnSize
 
 void wxNotebook::SetConstraintSizes(bool WXUNUSED(recurse))
@@ -616,6 +618,8 @@ bool wxNotebook::DoPhase(int WXUNUSED(nPhase))
   return TRUE;
 }
 
+#endif // wxUSE_CONSTRAINTS
+
 // ----------------------------------------------------------------------------
 // wxNotebook Windows message handlers
 // ----------------------------------------------------------------------------