DarkRadiant: master 02ff8706

Author Committer Branch Timestamp Parent
orbweaver orbweaver master 30.06.2021 20:10 master b0a6c533
Changeset Remove CallSuper anti-pattern from TransientWindow

_preShow(), _preHide() and friends are now strictly optional methods which
subclasses can override, but do not contain any common TransientWindow code
like saving/loading window positions. This avoids the need for every
TransientWindow subclass to remember to call the parent method before adding
its own code.
mod - libs/wxutil/window/TransientWindow.cpp Diff File
mod - libs/wxutil/window/TransientWindow.h Diff File