]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/window_osx.cpp
wxDataViewCtrl: Fully prepare renderer for Activate() call.
[wxWidgets.git] / src / osx / window_osx.cpp
index 6fe191e35995435ef8925544a93511dd422b0d4b..63ea791e8c69c6ee0bd2b162e9c3a352f421212c 100644 (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 )
 void wxWindowMac::SetLabel(const wxString& title)
 {
     if ( title == m_label )
@@ -1683,14 +1688,6 @@ wxWindow *wxWindowBase::DoFindFocus()
     return wxFindWindowFromWXWidget(wxWidgetImpl::FindFocus());
 }
 
     return wxFindWindowFromWXWidget(wxWidgetImpl::FindFocus());
 }
 
-void wxWindowMac::OnInternalIdle()
-{
-    // This calls the UI-update mechanism (querying windows for
-    // menu/toolbar/control state information)
-    if (wxUpdateUIEvent::CanUpdate(this) && IsShownOnScreen())
-        UpdateWindowUI(wxUPDATE_UI_FROMIDLE);
-}
-
 // Raise the window to the top of the Z order
 void wxWindowMac::Raise()
 {
 // Raise the window to the top of the Z order
 void wxWindowMac::Raise()
 {