Rename HandleMiniaturize() to have OSX prefix and make it non-virtual.
This method doesn't really have to be virtual and this change will allow to backport the commit adding wxIconizeEvent generation to 3.0 branch. See #16718.
This commit is contained in:
parent
9bedba0bf3
commit
46ab9cb041
@ -113,7 +113,8 @@ public:
|
||||
virtual void HandleResized( double timestampsec );
|
||||
virtual void HandleMoved( double timestampsec );
|
||||
virtual void HandleResizing( double timestampsec, wxRect* rect );
|
||||
virtual void HandleMiniaturize( double WXUNUSED(timestampsec), bool miniaturized );
|
||||
|
||||
void OSXHandleMiniaturize(double WXUNUSED(timestampsec), bool miniaturized);
|
||||
|
||||
void WindowWasPainted();
|
||||
|
||||
|
@ -422,7 +422,7 @@ extern int wxOSXGetIdFromSelector(SEL action );
|
||||
if ( windowimpl )
|
||||
{
|
||||
if ( wxNonOwnedWindow* wxpeer = windowimpl->GetWXPeer() )
|
||||
wxpeer->HandleMiniaturize(0, [window isMiniaturized]);
|
||||
wxpeer->OSXHandleMiniaturize(0, [window isMiniaturized]);
|
||||
}
|
||||
}
|
||||
|
||||
@ -433,7 +433,7 @@ extern int wxOSXGetIdFromSelector(SEL action );
|
||||
if ( windowimpl )
|
||||
{
|
||||
if ( wxNonOwnedWindow* wxpeer = windowimpl->GetWXPeer() )
|
||||
wxpeer->HandleMiniaturize(0, [window isMiniaturized]);
|
||||
wxpeer->OSXHandleMiniaturize(0, [window isMiniaturized]);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user