| 1 |
From f3c9f8e3311dc4d8c7b63f69497cba965cc716cf Mon Sep 17 00:00:00 2001 |
| 2 |
From: Yuri Pieters <[email protected]> |
| 3 |
Date: Tue, 13 Dec 2022 16:00:11 +0000 |
| 4 |
Subject: Fix compile error with wxwidgets 3.2 |
| 5 |
|
| 6 |
--- |
| 7 |
code/controls/ModList.cpp | 2 +- |
| 8 |
1 file changed, 1 insertion(+), 1 deletion(-) |
| 9 |
|
| 10 |
diff --git a/code/controls/ModList.cpp b/code/controls/ModList.cpp |
| 11 |
index 3195ab8..29b2ab2 100644 |
| 12 |
--- a/code/controls/ModList.cpp |
| 13 |
+++ b/code/controls/ModList.cpp |
| 14 |
@@ -50,7 +50,7 @@ const wxString NO_MOD(_("(No mod)")); |
| 15 |
// to keep the presets box from overlapping with flag list |
| 16 |
const size_t MAX_PRESET_NAME_LENGTH = 32; |
| 17 |
|
| 18 |
-class ModInfoDialog: wxDialog { |
| 19 |
+class ModInfoDialog: public wxDialog { |
| 20 |
public: |
| 21 |
ModInfoDialog(ModItem* item, wxWindow* parent); |
| 22 |
void OnLinkClicked(wxHtmlLinkEvent &event); |
| 23 |
-- |
| 24 |
2.30.2 |
| 25 |
|