From: Stefan Csomor Date: Mon, 25 Jan 2010 17:12:07 +0000 (+0000) Subject: make sure we can override GetModality X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/1814b27e4540a6719b2839e657200a1cd1eedca9 make sure we can override GetModality git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/dialog.h b/include/wx/dialog.h index 4cc11bab8a..71c80a0fc4 100644 --- a/include/wx/dialog.h +++ b/include/wx/dialog.h @@ -164,7 +164,7 @@ public: static void EnableLayoutAdaptation(bool enable) { sm_layoutAdaptation = enable; } // modality kind - wxDialogModality GetModality() const; + virtual wxDialogModality GetModality() const; protected: // emulate click of a button with the given id if it's present in the dialog //