- virtual void Command(wxCommandEvent& event);
- virtual bool MSWNotify(const WXWPARAM wParam, const WXLPARAM lParam);
+
+ virtual bool MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result);
+ virtual bool MSWOnScroll(int orientation, WXWORD nSBCode,
+ WXWORD pos, WXHWND control);
+
+#if wxUSE_CONSTRAINTS
+ virtual void SetConstraintSizes(bool recurse = true);
+ virtual bool DoPhase(int nPhase);
+#endif // wxUSE_CONSTRAINTS
+
+ // Attempts to get colour for UX theme page background
+ wxColour GetThemeBackgroundColour() const;
+
+ // implementation only
+ // -------------------
+
+#if wxUSE_UXTHEME
+ virtual bool SetBackgroundColour(const wxColour& colour)
+ {
+ if ( !wxNotebookBase::SetBackgroundColour(colour) )
+ return false;
+
+ UpdateBgBrush();
+
+ return true;
+ }
+
+ // return the themed brush for painting our children
+ virtual WXHBRUSH MSWGetBgBrushForChild(WXHDC hDC, WXHWND hWnd);
+
+ // draw child background
+ virtual bool MSWPrintChild(WXHDC hDC, wxWindow *win);
+#endif // wxUSE_UXTHEME
+
+ // translate wxWin styles to the Windows ones
+ virtual WXDWORD MSWGetStyle(long flags, WXDWORD *exstyle = NULL) const;