X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/efe66bbc0e9f463a6dd3ad49717474dd801bebf3..b8e7b6738fe00529fdeae26e6cfea1ccc2a00a76:/include/wx/msw/textctrl.h diff --git a/include/wx/msw/textctrl.h b/include/wx/msw/textctrl.h index 058004f57a..e0928b1174 100644 --- a/include/wx/msw/textctrl.h +++ b/include/wx/msw/textctrl.h @@ -147,12 +147,6 @@ public: virtual WXHBRUSH OnCtlColor(WXHDC pDC, WXHWND pWnd, WXUINT nCtlColor, WXUINT message, WXWPARAM wParam, WXLPARAM lParam); - // In WIN16, need to override normal erasing because - // Ctl3D doesn't use the wxWindows background colour. -#ifdef __WIN16__ - void OnEraseBackground(wxEraseEvent& event); -#endif - #if wxUSE_RICHEDIT virtual bool MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result); @@ -202,7 +196,7 @@ protected: void Init(); // intercept WM_GETDLGCODE - virtual long MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam); + virtual WXLRESULT MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam); // call this to increase the size limit (will do nothing if the current // limit is big enough)