#pragma once #include class GMessageBox : public GDialog { public: explicit GMessageBox(const String& text, const String& title, CObject* parent = nullptr); virtual ~GMessageBox() override; private: void build(); String m_text; };