supporting content size scaling (retina display)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2011-02-22 18:51:10 +00:00
parent 455f62c3b5
commit f18b5ee74c
5 changed files with 21 additions and 1 deletions

View File

@@ -1115,6 +1115,11 @@ void wxWindowMac::DoSetClientSize(int clientwidth, int clientheight)
}
}
float wxWindowMac::GetContentScaleFactor() const
{
return m_peer->GetContentScaleFactor();
}
void wxWindowMac::SetLabel(const wxString& title)
{
if ( title == m_label )