DarkRadiant: master 03a5b6f8

Author Committer Branch Timestamp Parent
orbweaver orbweaver master 13.04.2024 14:17 master f359038c
Changeset ConversationDialog no longer shrinks below minimum panel size

Set the [[nodiscard]] attribute on loadNamedPanel(); this emits a
warning in several dialogs which are ignoring the return value rather
than packing the loaded panel into a sizer. One consequence of this is
that (on GTK at least) the dialog ignores the panel's size hints and can
be shrunk to zero size. This is now corrected for the conversation
editor.
mod - libs/wxutil/XmlResourceBasedWidget.h Diff File
mod - plugins/dm.conversation/ConversationDialog.cpp Diff File