support retina display

This commit is contained in:
Grant Paul
2012-12-23 21:33:52 +13:00
committed by Matthew Parlane
parent e3eebdf591
commit 3aa9901618
7 changed files with 107 additions and 34 deletions

View File

@ -680,7 +680,7 @@ void TASInputDlg::OnCloseWindow(wxCloseEvent& event)
}
}
bool TASInputDlg::HasFocus()
bool TASInputDlg::HasFocus() const
{
//allows numbers to be used as hotkeys
if(TextBoxHasFocus())
@ -695,7 +695,7 @@ bool TASInputDlg::HasFocus()
return false;
}
bool TASInputDlg::TextBoxHasFocus()
bool TASInputDlg::TextBoxHasFocus() const
{
if(wxWindow::FindFocus() == wx_mainX_t)
return true;