mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 05:40:01 -06: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:
@ -39,6 +39,7 @@ CARCodeAddEdit::~CARCodeAddEdit()
|
|||||||
|
|
||||||
void CARCodeAddEdit::CreateGUIControls(int _selection)
|
void CARCodeAddEdit::CreateGUIControls(int _selection)
|
||||||
{
|
{
|
||||||
|
ActionReplay::ARCode tempEntries;
|
||||||
wxString currentName = wxT("Insert name here..");
|
wxString currentName = wxT("Insert name here..");
|
||||||
|
|
||||||
if (_selection == -1)
|
if (_selection == -1)
|
||||||
|
@ -54,7 +54,6 @@ class CARCodeAddEdit : public wxDialog
|
|||||||
void UpdateTextCtrl(ActionReplay::ARCode arCode);
|
void UpdateTextCtrl(ActionReplay::ARCode arCode);
|
||||||
|
|
||||||
int selection;
|
int selection;
|
||||||
ActionReplay::ARCode tempEntries;
|
|
||||||
|
|
||||||
};
|
};
|
||||||
#endif // __PATCH_ADDEDIT_h__
|
#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()));
|
m_Label_Codename->SetLabel(wxT("Name: ") + wxString::FromAscii(code.name.c_str()));
|
||||||
char text[CHAR_MAX];
|
char text[CHAR_MAX];
|
||||||
char* numcodes = text;
|
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_Label_NumCodes->SetLabel(wxString::FromAscii(numcodes));
|
||||||
m_ListBox_CodesList->Clear();
|
m_ListBox_CodesList->Clear();
|
||||||
for (size_t j = 0; j < code.ops.size(); j++)
|
for (size_t j = 0; j < code.ops.size(); j++)
|
||||||
|
@ -315,10 +315,9 @@ CFrame::CFrame(bool showLogWindow,
|
|||||||
const wxSize& size,
|
const wxSize& size,
|
||||||
long style)
|
long style)
|
||||||
: wxFrame(parent, id, title, pos, size, 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_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)
|
, m_fLastClickTime(0), m_iLastMotionTime(0), LastMouseX(0), LastMouseY(0)
|
||||||
#if wxUSE_TIMER
|
#if wxUSE_TIMER
|
||||||
, m_timer(this)
|
, m_timer(this)
|
||||||
|
Reference in New Issue
Block a user