mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-01-15 08:23:17 -03:00
mingw: replace SendMessage usage as clashes with existing function
This commit is contained in:
@@ -59,7 +59,7 @@ void NetPlayChatUI::Display()
|
||||
if (ImGui::InputText("##NetplayMessageBuffer", m_message_buf, IM_ARRAYSIZE(m_message_buf),
|
||||
ImGuiInputTextFlags_EnterReturnsTrue))
|
||||
{
|
||||
SendMessage();
|
||||
SendChatMessage();
|
||||
}
|
||||
|
||||
if (m_activate)
|
||||
@@ -73,7 +73,7 @@ void NetPlayChatUI::Display()
|
||||
ImGui::SameLine();
|
||||
|
||||
if (ImGui::Button("Send"))
|
||||
SendMessage();
|
||||
SendChatMessage();
|
||||
|
||||
ImGui::End();
|
||||
}
|
||||
@@ -90,7 +90,7 @@ void NetPlayChatUI::AppendChat(std::string message, Color color)
|
||||
m_scroll_to_bottom = true;
|
||||
}
|
||||
|
||||
void NetPlayChatUI::SendMessage()
|
||||
void NetPlayChatUI::SendChatMessage()
|
||||
{
|
||||
// Check whether the input field is empty
|
||||
if (m_message_buf[0] != '\0')
|
||||
|
||||
@@ -20,7 +20,7 @@ public:
|
||||
|
||||
void Display();
|
||||
void AppendChat(std::string message, Color color);
|
||||
void SendMessage();
|
||||
void SendChatMessage();
|
||||
void Activate();
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user