// implementation
// --------------
- // callbacks
- void OnSize(wxSizeEvent&);
-
// base class virtuals
virtual void AddChild(wxWindow *child);
virtual void SetConstraintSizes(bool recurse);
virtual bool DoPhase(int phase);
+ virtual void SetFont( const wxFont &font );
+ virtual void SetBackgroundColour( const wxColour &colour );
private:
// common part of all ctors
wxImageList* m_imageList;
wxList m_pages;
- uint m_idHandler; // the change page handler id
+ size_t m_idHandler; // the change page handler id
DECLARE_DYNAMIC_CLASS(wxNotebook)
- DECLARE_EVENT_TABLE()
};
// ----------------------------------------------------------------------------
#define EVT_NOTEBOOK_PAGE_CHANGING(id, fn) \
{ \
- wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING, \ \
+ wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING, \
id, \
-1, \
(wxObjectEventFunction)(wxEventFunction)(wxNotebookEventFunction) &fn, \