Implement sending wxIconizeEvent in wxOSX.
Translate windowDid{Miniaturize,Deminiaturize} callbacks to calls to SendIconizeEvent(). See #16718.
This commit is contained in:
committed by
Vadim Zeitlin
parent
563329f89f
commit
31e1387541
@@ -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 WindowWasPainted();
|
||||
|
||||
virtual bool Destroy();
|
||||
|
@@ -82,6 +82,9 @@ public:
|
||||
|
||||
virtual void SetRepresentedFilename(const wxString& filename);
|
||||
|
||||
// do *not* call this to iconize the frame, this is a private function!
|
||||
void OSXSetIconizeState(bool iconic);
|
||||
|
||||
protected:
|
||||
// common part of all ctors
|
||||
void Init();
|
||||
@@ -92,6 +95,7 @@ protected:
|
||||
// should the frame be maximized when it will be shown? set by Maximize()
|
||||
// when it is called while the frame is hidden
|
||||
bool m_maximizeOnShow;
|
||||
|
||||
private :
|
||||
wxDECLARE_EVENT_TABLE();
|
||||
};
|
||||
|
Reference in New Issue
Block a user