don't show size grip when maximized
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -4204,8 +4204,11 @@ wxWin32StatusBarInputHandler(wxInputHandler *handler)
|
||||
bool wxWin32StatusBarInputHandler::IsOnGrip(wxWindow *statbar,
|
||||
const wxPoint& pt) const
|
||||
{
|
||||
wxTopLevelWindow *parentTLW = wxDynamicCast(statbar->GetParent(), wxTopLevelWindow);
|
||||
|
||||
if ( statbar->HasFlag(wxST_SIZEGRIP) &&
|
||||
statbar->GetParent()->HasFlag(wxRESIZE_BORDER) )
|
||||
statbar->GetParent()->HasFlag(wxRESIZE_BORDER) &&
|
||||
parentTLW && !parentTLW->IsMaximized() )
|
||||
{
|
||||
wxSize sizeSbar = statbar->GetSize();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user