// event handlers
void OnSize(wxSizeEvent& event);
- void OnNcPaint(wxPaintEvent& event);
+ void OnNcPaint(wxNcPaintEvent& event);
void OnPaint(wxPaintEvent& event);
void OnErase(wxEraseEvent& event);
#ifdef __WXMSW__
// override MSWWindowProc() to process WM_NCHITTEST
- long MSWWindowProc(WXUINT message, WXWPARAM wParam, WXLPARAM lParam);
+ WXLRESULT MSWWindowProc(WXUINT message, WXWPARAM wParam, WXLPARAM lParam);
#endif // __WXMSW__
private: