git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Ryan Norton
2004-09-26 04:37:17 +00:00
parent 5d6f01d726
commit 01703fba23

View File

@@ -2473,6 +2473,16 @@ OSStatus wxMacMLTEClassicControl::DoCreate()
return err;
}
//
// HACKHACK: (RN)
// Classic controls are not initially focused and
// smaller ones are focused badly with the focus rect
// this "fixes" the above issue - but there is probably a
// a better way.
//
// Still, on smaller text controls the focus rect is off
//
bool wxMacMLTEClassicControl::NeedsFocusRect() const
{
return m_windowStyle & wxNO_BORDER ? false : true;