removed unused MSWWindowProc() (so that nobody is tempted to put it back)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2002-09-19 11:16:14 +00:00
parent 79aa7172fb
commit 20b7206cb2
2 changed files with 0 additions and 13 deletions

View File

@@ -48,7 +48,6 @@ protected:
virtual void DoSetSize(int x, int y, int w, int h, virtual void DoSetSize(int x, int y, int w, int h,
int sizeFlags = wxSIZE_AUTO); int sizeFlags = wxSIZE_AUTO);
virtual wxSize DoGetBestSize() const; virtual wxSize DoGetBestSize() const;
virtual long MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam);
DECLARE_DYNAMIC_CLASS(wxStaticText) DECLARE_DYNAMIC_CLASS(wxStaticText)
}; };

View File

@@ -170,16 +170,4 @@ bool wxStaticText::SetFont(const wxFont& font)
return ret; return ret;
} }
long wxStaticText::MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam)
{
// Ensure that static items get messages. Some controls don't like this
// message to be intercepted (e.g. RichEdit), hence the tests.
// Messes up display with Windows XP, apparently, so have to
// do explicit hit-testing in wxWindowMSW.
#if 0
if (nMsg == WM_NCHITTEST)
return (long)HTCLIENT;
#endif
return wxWindow::MSWWindowProc(nMsg, wParam, lParam);
}
#endif // wxUSE_STATTEXT #endif // wxUSE_STATTEXT