-#if WXWIN_COMPATIBILITY
- // Set/get scroll attributes
- virtual void SetScrollRange( int nOrient
- ,int nRange
- ,bool bRefresh = TRUE
- );
- virtual void SetScrollPage( int nOrient
- ,int nPage
- ,bool bRefresh = TRUE
- );
- virtual int OldGetScrollRange(int nOrient) const;
- virtual int GetScrollPage(int nOrient) const;
-
- //
- // event handlers
- //
- // Handle a control command
- virtual void OnCommand( wxWindow& rWin
- ,wxCommandEvent& rEvent
- );
-
- // Override to define new behaviour for default action (e.g. double
- // clicking on a listbox)
- virtual void OnDefaultAction(wxControl* WXUNUSED(pInitiatingItem)) { }
-#endif // WXWIN_COMPATIBILITY
-
-#if wxUSE_CARET && WXWIN_COMPATIBILITY
- void CreateCaret( int nWidth
- ,int nHeight
- );
- void CreateCaret(const wxBitmap* pBitmap);
- void DestroyCaret(void);
- void ShowCaret(bool bShow);
- void SetCaretPos( int nX
- ,int nY
- );
- void GetCaretPos( int* pX
- ,int* pY
- ) const;
-#endif // wxUSE_CARET
-