Fix resizing problems when rendering to main (here's your fix JP :p) + another wiimote recording crash

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3318 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
sl1nk3.s 2009-06-04 00:32:59 +00:00
parent ba3ceeafb7
commit 6525ca5c58
2 changed files with 2 additions and 2 deletions

View File

@ -657,7 +657,6 @@ void CFrame::OnHelp(wxCommandEvent& event)
void CFrame::OnNetPlay(wxCommandEvent& WXUNUSED (event))
{
#if defined(HAVE_SFML) && HAVE_SFML
new NetPlay(this, m_GameListCtrl->GetGamePaths(), m_GameListCtrl->GetGameNames());
#endif
}
@ -715,6 +714,7 @@ void CFrame::OnLoadState(wxCommandEvent& event)
void CFrame::OnResize(wxSizeEvent& event)
{
FitInside();
DoMoveIcons(); // In FrameWiimote.cpp
event.Skip();
}

View File

@ -454,7 +454,7 @@ void ConfigDialog::RecordMovement(wxCommandEvent& event)
m_RecordButton[m_iRecordTo]->SetLabel(wxT("Press +"));
// This is for usability purposes, it may not be obvious at all that this must be unchecked
// for the recording to work
for(int i = 0; i < 4; i++) m_UseRealWiimote[i]->SetValue(false); g_Config.bUseRealWiimote = false;
for(int i = 0; i < 1; i++) m_UseRealWiimote[i]->SetValue(false); g_Config.bUseRealWiimote = false;
return;
}