+ // lay out the window and its children
+ virtual bool Layout();
+
+ virtual void DoSetVirtualSize(int x, int y);
+
+#ifdef __WXMAC__
+ virtual bool MacClipChildren() const { return true ; }
+#endif
+protected:
+ // this is needed for wxEVT_PAINT processing hack described in
+ // wxScrollHelperEvtHandler::ProcessEvent()
+ void OnPaint(wxPaintEvent& event);
+
+ // we need to return a special WM_GETDLGCODE value to process just the
+ // arrows but let the other navigation characters through
+#ifdef __WXMSW__
+ virtual WXLRESULT MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam);
+#endif // __WXMSW__
+