X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9482c64466359ec7cfd201bebc3399ac4a56b4e6..cc16513e28a9a3084eee4b32529cde19d1760f0d:/include/wx/dialog.h 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 //