Removes a few compiler warnings and fix the bitmap for the sticks being cut off on the right

This commit is contained in:
Braden
2012-11-04 15:49:52 -06:00
parent 793e547e15
commit 3429db1115
3 changed files with 4 additions and 5 deletions

View File

@ -682,7 +682,7 @@ void TASInputDlg::OnCloseWindow(wxCloseEvent& event)
}
}
bool TASInputDlg::HasFocus()
bool TASInputDlg::TASInputDlgHasFocus()
{
//allows numbers to be used as hotkeys
if(TextBoxHasFocus())
@ -753,7 +753,6 @@ void TASInputDlg::OnMouseUpR(wxMouseEvent& event)
return;
}
wxPoint ptM(event.GetPosition());
*x = 128;
*y = 128;
@ -1027,7 +1026,7 @@ wxBitmap TASInputDlg::CreateStickBitmap(int x, int y)
y = y/2;
wxMemoryDC memDC;
wxBitmap bitmap(127, 127);
wxBitmap bitmap(129, 129);
memDC.SelectObject(bitmap);
memDC.SetBackground(*wxLIGHT_GREY_BRUSH);
memDC.Clear();