From 2cdd094b12b8aa4f2ae45dab892f3be41856832c Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Tue, 18 Feb 2003 09:40:30 +0000 Subject: [PATCH] Applied patch [ 681921 ] Stray focus rectangle in static text git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/univ/stattext.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/wx/univ/stattext.h b/include/wx/univ/stattext.h index 810aa35869..df24e33d66 100644 --- a/include/wx/univ/stattext.h +++ b/include/wx/univ/stattext.h @@ -56,7 +56,9 @@ public: virtual void SetLabel(const wxString& label); virtual bool HasTransparentBackground() { return TRUE; } - + + virtual bool IsFocused() const { return FALSE; } + protected: // calculate the optimal size for the label virtual wxSize DoGetBestClientSize() const; -- 2.47.2