define wxCONTROL_SIZEGRIP as another possible interpretation of wxCONTROL_SPECIAL bit

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2006-09-20 17:15:52 +00:00
parent 3a01afec26
commit fb61f58a73
2 changed files with 6 additions and 8 deletions

View File

@@ -129,11 +129,7 @@ void wxStatusBarUniv::DoDraw(wxControlRenderer *renderer)
GetParent()->HasFlag(wxRESIZE_BORDER) &&
parentTLW && !parentTLW->IsMaximized() )
{
// NB: we use wxCONTROL_ISDEFAULT for this because it doesn't
// have any meaning for the status bar otherwise anyhow
// (it's still ugly, of course, but there are too few flags
// to squander them for things like this)
flags |= wxCONTROL_ISDEFAULT;
flags |= wxCONTROL_SIZEGRIP;
}
int style;