Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 911713 Details for
Bug 938887
games-util/slade-3.2.4-r1 - [gcc-15] /.../TextEntryPanel.cpp: error: call of overloaded addActionGroup(const char [8], <brace-enclosed initializer list>, bool) is
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fixes ambiguity of addActionGroup calls
usevecstr.patch (text/plain), 3.21 KB, created by
Chase Phelps
on 2024-11-23 20:42:35 UTC
(
hide
)
Description:
Fixes ambiguity of addActionGroup calls
Filename:
MIME Type:
Creator:
Chase Phelps
Created:
2024-11-23 20:42:35 UTC
Size:
3.21 KB
patch
obsolete
>--- a/src/MainEditor/UI/EntryPanel/TextEntryPanel.cpp >+++ b/src/MainEditor/UI/EntryPanel/TextEntryPanel.cpp >@@ -93,7 +93,7 @@ TextEntryPanel::TextEntryPanel(wxWindow* parent) : EntryPanel(parent, "text") > text_area_->setJumpToControl(choice_jump_to_); > > // Add 'Compile ACS' to end of toolbar >- toolbar_->addActionGroup("Compile", { "arch_scripts_compileacs" }, true); >+ toolbar_->addActionGroup("Compile", vector<string>{ "arch_scripts_compileacs" }, true); > > // Bind events > choice_text_language_->Bind(wxEVT_CHOICE, &TextEntryPanel::onChoiceLanguageChanged, this); >--- a/src/MainEditor/UI/TextureXEditor/PatchTablePanel.cpp >+++ b/src/MainEditor/UI/TextureXEditor/PatchTablePanel.cpp >@@ -205,7 +205,7 @@ PatchTablePanel::PatchTablePanel(wxWindow* parent, PatchTable* patch_table, Text > list_patches_->setSearchColumn(1); // Want to search by patch name not index > toolbar_ = new SToolBar(this, false, wxVERTICAL); > toolbar_->addActionGroup( >- "_New", { "txed_pnames_add", "txed_pnames_addfile", "txed_pnames_delete", "txed_pnames_change" }); >+ "_New", vector<string>{ "txed_pnames_add", "txed_pnames_addfile", "txed_pnames_delete", "txed_pnames_change" }); > label_dimensions_ = new wxStaticText(this, -1, "Size: N/A"); > label_textures_ = new wxStaticText( > this, -1, "In Textures: -", wxDefaultPosition, wxDefaultSize, wxST_ELLIPSIZE_END); >--- a/src/MainEditor/UI/TextureXEditor/TextureEditorPanel.cpp >+++ b/src/MainEditor/UI/TextureXEditor/TextureEditorPanel.cpp >@@ -295,6 +295,7 @@ wxPanel* TextureEditorPanel::createPatchControls(wxWindow* parent) > tb_patches_ = new SToolBar(panel, false, wxVERTICAL); > tb_patches_->addActionGroup( > "_Patch", >+ vector<string> > { "txed_patch_add", > "txed_patch_remove", > "txed_patch_back", >--- a/src/MainEditor/UI/TextureXEditor/TextureXPanel.cpp >+++ b/src/MainEditor/UI/TextureXEditor/TextureXPanel.cpp >@@ -625,10 +625,10 @@ TextureXPanel::TextureXPanel(wxWindow* parent, TextureXEditor& tx_editor) : > > // Toolbar > toolbar_ = new SToolBar(this, false, wxVERTICAL); >- toolbar_->addActionGroup("_Save", { "txed_savelist" }); >- toolbar_->addActionGroup("_New", { "txed_new", "txed_new_file" }); >- toolbar_->addActionGroup("_Texture", { "txed_rename", "txed_rename_each", "txed_delete" }); >- toolbar_->addActionGroup("_Sorting", { "txed_up", "txed_down", "txed_sort" }); >+ toolbar_->addActionGroup("_Save", vector<string>{ "txed_savelist" }); >+ toolbar_->addActionGroup("_New", vector<string>{ "txed_new", "txed_new_file" }); >+ toolbar_->addActionGroup("_Texture", vector<string>{ "txed_rename", "txed_rename_each", "txed_delete" }); >+ toolbar_->addActionGroup("_Sorting", vector<string>{ "txed_up", "txed_down", "txed_sort" }); > toolbar_->group("_Texture")->setAllButtonsEnabled(false); > toolbar_->group("_Sorting")->setAllButtonsEnabled(false); > toolbar_->findActionButton("txed_sort")->Enable(); >--- a/src/MainEditor/UI/TextureXEditor/ZTextureEditorPanel.cpp >+++ b/src/MainEditor/UI/TextureXEditor/ZTextureEditorPanel.cpp >@@ -232,6 +232,7 @@ wxPanel* ZTextureEditorPanel::createPatchControls(wxWindow* parent) > tb_patches_ = new SToolBar(panel, false, wxVERTICAL); > tb_patches_->addActionGroup( > "_Patch", >+ vector<string> > { "txed_patch_add", > "txed_patch_remove", > "txed_patch_back",
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 938887
:
901863
|
901864
|
901865
|
901866
|
901867
|
901868
|
901869
|
901870
| 911713