From 1814b27e4540a6719b2839e657200a1cd1eedca9 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Mon, 25 Jan 2010 17:12:07 +0000 Subject: [PATCH] make sure we can override GetModality git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/dialog.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 // -- 2.50.0