mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-10 00:41:26 +12:00
commit
5b252a8bad
3 changed files with 16 additions and 15 deletions
|
@ -68,13 +68,9 @@ u32 FnIdGenerator::GenerateFnId(const std::string& func_name)
|
||||||
|
|
||||||
void FnIdGenerator::PrintId()
|
void FnIdGenerator::PrintId()
|
||||||
{
|
{
|
||||||
const std::string temp;
|
TextInputDialog dial(0, "", "Please input function name");
|
||||||
TextInputDialog dial(0, temp, "Please input function name");
|
|
||||||
if (dial.ShowModal() == wxID_OK)
|
if (dial.ShowModal() == wxID_OK)
|
||||||
{
|
{
|
||||||
dial.GetResult();
|
|
||||||
}
|
|
||||||
|
|
||||||
const std::string& func_name = dial.GetResult();
|
const std::string& func_name = dial.GetResult();
|
||||||
|
|
||||||
if (func_name.length() == 0)
|
if (func_name.length() == 0)
|
||||||
|
@ -88,6 +84,9 @@ void FnIdGenerator::PrintId()
|
||||||
UpdateInformation();
|
UpdateInformation();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
void FnIdGenerator::UpdateInformation()
|
void FnIdGenerator::UpdateInformation()
|
||||||
{
|
{
|
||||||
m_list->DeleteAllItems();
|
m_list->DeleteAllItems();
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#include "TextInputDialog.h"
|
#include "TextInputDialog.h"
|
||||||
#include "../Crypto/aes.h"
|
#include "../Crypto/aes.h"
|
||||||
#include "../Crypto/sha1.h"
|
#include "../Crypto/sha1.h"
|
||||||
|
|
|
@ -25,7 +25,7 @@ protected:
|
||||||
|
|
||||||
Bind(wxEVT_CLOSE_WINDOW, &FrameBase::OnClose, this);
|
Bind(wxEVT_CLOSE_WINDOW, &FrameBase::OnClose, this);
|
||||||
Bind(wxEVT_MOVE, &FrameBase::OnMove, this);
|
Bind(wxEVT_MOVE, &FrameBase::OnMove, this);
|
||||||
Bind(wxEVT_SIZE, &FrameBase::OnSize, this);
|
Bind(wxEVT_SIZE, &FrameBase::OnResize, this);
|
||||||
}
|
}
|
||||||
|
|
||||||
~FrameBase()
|
~FrameBase()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue