mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 08:09:26 +01:00
Misc warning fixes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3582 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
b33e69b8de
commit
1bcef5be76
@ -39,6 +39,7 @@ CARCodeAddEdit::~CARCodeAddEdit()
|
||||
|
||||
void CARCodeAddEdit::CreateGUIControls(int _selection)
|
||||
{
|
||||
ActionReplay::ARCode tempEntries;
|
||||
wxString currentName = wxT("Insert name here..");
|
||||
|
||||
if (_selection == -1)
|
||||
|
@ -54,7 +54,6 @@ class CARCodeAddEdit : public wxDialog
|
||||
void UpdateTextCtrl(ActionReplay::ARCode arCode);
|
||||
|
||||
int selection;
|
||||
ActionReplay::ARCode tempEntries;
|
||||
|
||||
};
|
||||
#endif // __PATCH_ADDEDIT_h__
|
||||
|
@ -165,7 +165,7 @@ void wxCheatsWindow::OnEvent_CheatsList_ItemSelected(wxCommandEvent& WXUNUSED (e
|
||||
m_Label_Codename->SetLabel(wxT("Name: ") + wxString::FromAscii(code.name.c_str()));
|
||||
char text[CHAR_MAX];
|
||||
char* numcodes = text;
|
||||
sprintf(numcodes, "Number of Codes: %lu", code.ops.size());
|
||||
sprintf(numcodes, "Number of Codes: %lu", (unsigned long)code.ops.size());
|
||||
m_Label_NumCodes->SetLabel(wxString::FromAscii(numcodes));
|
||||
m_ListBox_CodesList->Clear();
|
||||
for (size_t j = 0; j < code.ops.size(); j++)
|
||||
|
@ -315,10 +315,9 @@ CFrame::CFrame(bool showLogWindow,
|
||||
const wxSize& size,
|
||||
long style)
|
||||
: wxFrame(parent, id, title, pos, size, style)
|
||||
, m_pStatusBar(NULL), bRenderToMain(true), HaveLeds(false)
|
||||
, HaveSpeakers(false), m_Panel(NULL)
|
||||
, m_bLogWindow(showLogWindow || SConfig::GetInstance().m_InterfaceLogWindow)
|
||||
, m_pStatusBar(NULL), bRenderToMain(true)
|
||||
, HaveLeds(false), HaveSpeakers(false)
|
||||
, m_Panel(NULL)
|
||||
, m_fLastClickTime(0), m_iLastMotionTime(0), LastMouseX(0), LastMouseY(0)
|
||||
#if wxUSE_TIMER
|
||||
, m_timer(this)
|
||||
|
Loading…
x
Reference in New Issue
Block a user