Factor out wxTopLevelWindowGTK::GTKDoAfterShow()

Just extract the code generating wxEVT_SHOW for TLWs in wxGTK in its own
function before modifying it to avoid having to do it in two places.

No real changes, this is a pure refactoring.
This commit is contained in:
Vadim Zeitlin
2021-04-12 17:27:34 +02:00
parent ed23b47695
commit 329f60d7f3
2 changed files with 12 additions and 6 deletions

View File

@@ -136,6 +136,8 @@ public:
void GTKUpdateDecorSize(const DecorSize& decorSize);
void GTKDoAfterShow();
protected:
// give hints to the Window Manager for how the size
// of the TLW can be changed by dragging